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

SDE - 1

Nsquare
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I prepared DSA and practice coding on many platforms like HackerEarth, Leetcode. I took 4-5 problems everyday on the topics I was preparing and try to solve them. After 2 months of continuous learning then I start applying in the companies for Development Role. then I got a chance in Nsquare for the interview.
Application story
I saw a post of SDE and request them to consider. Then I got a mail after seven days of apply. Then I got link for written test exam and after successfully completion of exam. After 2-3 days I got another mail for technical round discussion. There I give my best and after a HR round discussion. Finally I made it.
Why selected/rejected for the role?
I think I was consistently preparing and I gave my best during all the rounds like written, technical rounds. My basics was very strong and I practices lot of coding problems.
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, Operating System
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.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

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.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Telephonic
Duration50 minutes
Interview date8 Sep 2021
Coding problem2

Two coding questions were asked in this round.

1. Max Product Count

Moderate
35m average time
70% success
0/80
Asked in companies
AmazonHSBCAmerican Express

You are given an array 'ARR' of 'N' distinct integers.

Your task is to find the product 'P' with the highest count('C') of quadruples which follow p * q = r * s where p, q, r, and s are elements of the array with different indexes.

Note:
1. Quadruple p*q = r*s is the same as r*s = p*q.

2. If 2 or more products have the same count of quadruples, print the lowest value of the product i.e if (P1, P2) are the 2 products with the same count of such quadruples(C1 = C2) then 'P' = min(P1, P2).

3. If no such quadruple exists('C' = 0), return 0.

Example:

If the given array is [3, 4, 6, 2, 1], then the answer would be 6 1. Because there are two products 'P' i.e 6 and 12 which have the highest and same count 'C' of quadruples, i.e 'C' = 1. Therefore the lowest value of the product 'P' is the answer i.e 6.
Try solving now

2. Stack using queue

Moderate
25m average time
65% success
0/80
Asked in companies
DunzoOptumBig Basket

Implement a Stack Data Structure specifically to store integer data using two Queues.


There should be two data members, both being Queues to store the data internally. You may use the inbuilt Queue.


Implement the following public functions :

1. Constructor:
It initializes the data members(queues) as required.

2. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.

3. pop() :
It pops the element from the top of the stack and, in turn, returns the element being popped or deleted. In case the stack is empty, it returns -1.

4. top :
It returns the element being kept at the top of the stack. In case the stack is empty, it returns -1.

5. size() :
It returns the size of the stack at any given instance of time.

6. isEmpty() :
It returns a boolean value indicating whether the stack is empty or not.
Operations Performed on the Stack:
Query-1(Denoted by an integer 1): Pushes an integer data to the stack. (push function)

Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack and returns it to the caller. (pop function)

Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack but doesn't remove it, unlike the pop function. (top function)

Query-4(Denoted by an integer 4): Returns the current size of the stack. (size function)

Query-5(Denoted by an integer 5): Returns a boolean value denoting whether the stack is empty or not. (isEmpty function)
Example
Operations: 
1 5
1 10
2
3
4

Enqueue operation 1 5: We insert 5 at the back of the queue.
  Queue: [5]

Enqueue operation 1 10: We insert 10 at the back of the queue.
  Queue: [5, 10]

Dequeue operation 2: We remove the element from the front of the queue, which is 5, and print it.
  Output: 5
  Queue: [10]

Peek operation 3: We return the element present at the front of the queue, which is 10, without removing it.
  Output: 10
  Queue: [10]

IsEmpty operation 4: We check if the queue is empty.
  Output: False
  Queue: [10]
Try solving now
02
Round
Easy
Online Coding Test
Duration40 minutes
Interview date12 Sep 2021
Coding problem2

Basic discussion around OOPS, DBMS and at last one coding questions was asked to seal this round.

1. DBMS Questions

What is inheritance?
What is the difference between compile time polymorphism and run time polymorphism?
What is data abstraction?
What are ACID properties?
What is normalisation?
Explain various normalised forms.

2. Shortest Palindrome

Moderate
24m average time
75% success
0/80
Asked in companies
Goldman SachsDunzoNsquare

You are given a string ‘STR’. Your task is to find the shortest palindrome that can be formed by adding characters in front of ‘STR’.

For example:
You are given ‘STR’ = “aabcd”. Then our answer will be “dcbaabcd”. We can form a palindrome by adding ‘d’, ‘c’, and ‘b’ in front of ‘STR’.
Try solving now
03
Round
Easy
HR Round
Duration20 minutes
Interview date18 Sep 2021
Coding problem1

Basic discussion with HR of the company

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
681 views
0 comments
0 upvotes
Software Engineer
3 rounds | 5 problems
Interviewed by Nsquare
780 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
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114578 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34960 views
7 comments
0 upvotes