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

SDE - 2

Nsquare
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I got a mail from my college CRC team and I registered for the job and start looking at their process of hiring and also understand the level of interview questions after a few weeks I received the mail for the first round which was a simple interview round where simple basic data structure relate question is asked after few more rounds happened and I prepared my self by practicing related question on the internet and I qualified all the rounds and got the offer letter.
Application story
I got a mail from my college CRC team and I registered for the job and started practising accordingly.
Why selected/rejected for the role?
Yes I got selected for the SDE role which was the highest they were offering and I got confirmation via mail they also needed a medical checkup report before onboarding so completed the process and join the company
Preparation
Duration: 5 months
Topics: Computer Networks, OS, Data Structures, Pointers, OOPS, System Design, 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.
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
Duration60 minutes
Interview date4 Jan 2022
Coding problem2

1. 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

2. Right View

Moderate
35m average time
65% success
0/80
Asked in companies
AdobeSAP LabsRazorpay

You have been given a Binary Tree of integers.

Your task is to print the Right view of it.

The right view of a Binary Tree is a set of nodes visible when the tree is viewed from the Right side and the nodes are printed from top to bottom order.

Try solving now
02
Round
Easy
Face to Face
Duration50 minutes
Interview date15 Jan 2022
Coding problem2

1. 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

2. Compress the String

Moderate
25m average time
60% success
0/80
Asked in companies
AdobeMathworksCIS - Cyber Infrastructure

Ninja has been given a program to do basic string compression. For a character that is consecutively repeated more than once, he needs to replace the consecutive duplicate occurrences with the count of repetitions.

Example:

If a string has 'x' repeated 5 times, replace this "xxxxx" with "x5".

The string is compressed only when the repeated character count is more than 1.

Note :

The consecutive count of every character in the input string is less than or equal to 9.
Try solving now
03
Round
Easy
HR Round
Duration15 minutes
Interview date30 Jan 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?

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
Software Engineer
3 rounds | 5 problems
Interviewed by Nsquare
781 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 - 2
5 rounds | 12 problems
Interviewed by Walmart
29569 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
9583 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6677 views
1 comments
0 upvotes