Nsquare interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Nsquare
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
My journey started by learning programming Languages. I firstly explored Java, C++ , Python. whichever suited me I choose it. So I choose C++. I learn C++ from youtube and by taking course from coding ninjas. After it I learnt webD and made projects according to it.
Application story
It was an on-campus opportunity, I registered for the exam first, then the exam was scheduled after qualifying for the exam, the interview was scheduled, getting selected for the interview, and after a few document verifications, I was offered the role.
Why selected/rejected for the role?
I was selected for the role because I passed the entrance test and did well in the interview. They were satisfied with my skills and ability so they offered me the role.
Preparation
Duration: 5 months
Topics: System Design, OOPS, Operating System, Data Structures, Pointers, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.

Interview rounds

01
Round
Easy
Telephonic
Duration60 minutes
Interview date11 Nov 2022
Coding problem2

Two coding problems related to string and array respectively were asked in this interview round.

1. Heap Sort

Easy
15m average time
85% success
0/40
Asked in companies
AdobeExpedia GroupAmazon

You are given an array ‘ARR’ consisting of 'N' integers, and your task is to sort the given array in non-decreasing order using the Heap sort algorithm.

Try solving now

2. Maximum Subarray Sum

Moderate
35m average time
81% success
0/80
Asked in companies
HCL TechnologiesInformaticaSamsung

You are given an array 'arr' of length 'n', consisting of integers.


A subarray is a contiguous segment of an array. In other words, a subarray can be formed by removing 0 or more integers from the beginning and 0 or more integers from the end of an array.


Find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.


The sum of an empty subarray is 0.


Example :
Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]

Output: 11

Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
Try solving now
02
Round
Easy
Face to Face
Duration70 minutes
Interview date16 Nov 2022
Coding problem2

Simple Coding questions were asked in second round. After this directly we were promoted to the HR Round.

1. Check Bipartite Graph

Moderate
50m average time
50% success
0/80
Asked in companies
UberWalmarteBay

Given a graph, check whether the graph is bipartite or not. Your function should return true if the given graph's vertices can be divided into two independent sets, ‘U’ and ‘V’ such that every edge (‘u’, ‘v’) either connects a vertex from ‘U’ to ‘V’ or a vertex from ‘V’ to ‘U’.

You are given a 2D array ‘edges’ which contains 0 and 1, where ‘edges[i][j]’ = 1 denotes a bi-directional edge from ‘i’ to ‘j’.

Note:
If edges[i][j] = 1, that implies there is a bi-directional edge between ‘i’ and ‘j’, that means there exists both edges from ‘i’ to ‘j’ and to ‘j’ to ‘i’.

For example

Given:
‘N’ = 3
‘edges’ = [[0, 1, 1], [0, 0, 1], [0,0,0]]. 

Try solving now

2. Reverse List In K Groups

Hard
15m average time
85% success
0/120
Asked in companies
SAP LabsSamsungIBM

You are given a linked list of 'n' nodes and an integer 'k', where 'k' is less than or equal to 'n'.


Your task is to reverse the order of each group of 'k' consecutive nodes, if 'n' is not divisible by 'k', then the last group of nodes should remain unchanged.


For example, if the linked list is 1->2->3->4->5, and 'k' is 3, we have to reverse the first three elements, and leave the last two elements unchanged. Thus, the final linked list being 3->2->1->4->5.


Implement a function that performs this reversal, and returns the head of the modified linked list.


Example:
Input: 'list' = [1, 2, 3, 4], 'k' = 2

Output: 2 1 4 3

Explanation:
We have to reverse the given list 'k' at a time, which is 2 in this case. So we reverse the first 2 elements then the next 2 elements, giving us 2->1->4->3.


Note:
All the node values will be distinct.


Try solving now
03
Round
Easy
HR Round
Duration15 minutes
Interview date24 Nov 2022
Coding problem1

1. Basic HR Questions

Introduce yourself
What are your hobbies?
What is your expected salary?
Where do you see yourself in 3 years?
What do you expect from NSquare during your working period?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 5 problems
Interviewed by Nsquare
677 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Nsquare
682 views
0 comments
0 upvotes
SDE - 2
3 rounds | 5 problems
Interviewed by Nsquare
720 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Nsquare
991 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7873 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9972 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4309 views
1 comments
0 upvotes