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

Software Engineer

Growthnatives
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I was unaware of this coding stuff till my school life. I got to know about the field of computer science in my class 11th. I found it interesting and decided that I will pursue my career in the field of computer science. I started learning DSA in 3rd semester of my B.Tech. I practiced a lot from coding platforms like GFG, Leetcode, Coding Ninja. Till last
Application story
I got a message in my telegram group about the company visiting our campus to hire SDE-1.It was great company As, I was in the fourth year, it was sure that I was going to apply for it. I started preparing accordingly and got selected at last.
Why selected/rejected for the role?
I think my skills and knowledge were up to the mark, that they found me as a valuable candidate. Moreover, my communication skills added up to my numbers.
Preparation
Duration: 2 months
Topics: Data Structures, Pointers, OOPS, Algorithms, Dynamic Programming, DBMS, Operating System, System Design, Computer Networks, Machine Learning, C++, Python
Tip
Tip

Tip 1 : Be thorough with your basics - Data Structures and Algorithms, Pointers, DBMS,OOPS,OS etc.
Tip 2 : Practice Competitive Programming. Improve your programming skills. (Take data structures course from CN. That's enough for cracking any service based or product based company). Practice questions from Leetcode/Codechef/Codeforces.
Tip 3 : Be confident in your answers. You should not fumble while giving answers.
Tip 4: Also have a good practice on aptitude. Managing time during the test is also an important skill.

Application process
Where: Campus
Eligibility: 6.5
Resume Tip
Resume tip

Tip 1: Mention good projects.
Tip 2: Write the things about which you're 100% sure that you can answer questions from those things.
Tip 3: Do not try to go high profile by mentioning too many skills/projects/extra curriculars on resume.

Interview rounds

01
Round
Hard
Online Coding Test
Duration60 mins
Interview date2 Dec 2020
Coding problem2

This round was carried out on Amcat. It was very user friendly platform and easily understandable. Countdown Timer was located at the top right corner that helped me to keep a check on the remaining time and I planned my answers and code accordingly.

1. NINJA'S JUMP

Hard
15m average time
85% success
0/120
Asked in companies
Morgan StanleyAmazonExpedia Group

Ninja is assigned a task to reach the last stone by his master. These stones are numbered with some value and in the form of an array. He is allowed to jump either odd-numbered jumps or even-numbered jumps and has to reach the last stone.

So your task is to find the number of starting index from which he may start jumping so he reaches the last stones. You are provided with the given array and you have to find the number of starting index of the array from which Ninja can reach the end of the array by jumping some number of times.

For jumping you have to follow below instructions:

You may jump forward from index ‘i’ to index ‘j’ (with i < j) in the following way:

During odd-numbered jumps (i.e., jumps 1, 3, 5, ...), you jump to the index ‘j’ such that ‘arr[i] <= arr[j]’ and ‘arr[j]’ is the smallest possible value. If there are multiple such indices ‘j’, you can only jump to the smallest such index j.

During even-numbered jumps (i.e., jumps 2, 4, 6, ...), you jump to the index ‘j’ such that ‘arr[i] >= arr[j]’ and ‘arr[j]’ is the largest possible value. If there are multiple such indices ‘j’, you can only jump to the smallest such index ‘j’.

Problem approach

I applied BInary search algo to solve this problem

Try solving now

2. Count Ways To Reach The N-th Stairs

Moderate
30m average time
80% success
0/80
Asked in companies
PayPalOYOMicrosoft

You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair.


Each time, you can climb either one step or two steps.


You are supposed to return the number of distinct ways you can climb from the 0th step to the Nth step.

Note:

Note: Since the number of ways can be very large, return the answer modulo 1000000007.
Example :
N=3

Example

We can climb one step at a time i.e. {(0, 1) ,(1, 2),(2,3)} or we can climb the first two-step and then one step i.e. {(0,2),(1, 3)} or we can climb first one step and then two step i.e. {(0,1), (1,3)}.
Problem approach

simple dsa implementation

Try solving now
02
Round
Medium
Video Call
Duration45 mins
Interview date2 Dec 2020
Coding problem2

This was carried out on Skype and the questions asked were relatively difficult, I wasn't very much sure with my answers. Although this platform is nice and it wasn't the first time, I was using Skype but still, the final results didn't go in my favor.

1. Find the lone set bit

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

You are given a single non-negative integer ‘N’ who’s binary representation consists of a single ‘1’ digit and the rest of the digits are ‘0’s. Your task is to find the position of the only ‘1’ digit. In other words, your task is to find the position of the only set bit in the binary representation of the input integer ‘N’.

The position of the set bit must be counted from the LSB (Least Significant Bit) end of the Binary number. If the count of set bits in the Binary number is not equal to 1, then your function should return ‘-1’ as output.

Example:-
INPUT   : N = 4
OUTPUT  : 3

In the above example, N = 4, whose Binary representation is “0100”. It is clearly visible that the binary number contains a single set bit, at a position 3 from the LSB end. Hence the output is 3

INPUT : N = 8
OUTPUT: 4

In the above example, N = 8, whose Binary representation is “1000”. It is clearly visible that the binary number contains a single set bit, at a position 4 from the LSB end. Hence the output is 4

INPUT   : N = 9
OUTPUT  : -1

In the above example, N = 9, whose Binary representation is “1001”.  Now, the binary number contains 2 set bits, at a position 4 and 1 from LSB end. Hence the output is -1.

INPUT   : N = 0
OUTPUT  : -1

In the above example, N = 0, whose Binary representation is “0000”.  Now, the binary number contains no set bits at all. Hence the output will be -1.
Problem approach

Bit manipulation technique

Try solving now

2. OS Questions

1. Tell me the difference b/ deadlock and livelock.
2. Different types of scheduling algorithms

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
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
961 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes