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

SDE - 1

Testbook
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: Data Structure and Algorithm, Operating System, DBMS, OOPs and Javascript.
Tip
Tip

Tip 1 : Have a good command over DSA.
Tip 2 : Revise your projects before the interview so you can explain them from any angle.

Application process
Where: Referral
Eligibility: No Criteria
Resume Tip
Resume tip

Tip 1 : Prepare ATS friendly resume.
Tip 2 : Mention your projects and achievements by highlighting important topics.

Interview rounds

01
Round
Easy
Video Call
Duration45 Minutes
Interview date26 Apr 2022
Coding problem3

This round was a problem-solving round. After a quick introduction, I was given two coding questions and some javascript questions.

1. Alternate Positive and Negative

Easy
15m average time
80% success
0/40
Asked in companies
PayUAmazonDisney + Hotstar

You are given an array ‘arr’ that contains an equal number of positive and negative elements. Rearrange the given array such that positive and negative numbers are arranged alternatively. Also, the respective relative order of positive and negative should be maintained.

For example:

For the given arr[ ] = { -1, 3, 5, 0, -2, -5 } 
arr[ ] = {3, -1, 5, -2, 0, -5 } is valid rearrangement.
arr[ ] = {3, -1, 0, -2, 5, -5 } is invalid rearrangement; order of 0 and 5 is changed. 
arr[ ] = {3, -1, 5, 0, -2, -5 } is invalid rearrangement; positive and negative elements are not alternative.

Note:

Make changes in the same array and no returning or printing is needed.
Consider zero(0) as a positive element for this question.
It is guaranteed that an answer always exists.
Problem approach

I started with the brute force solution. It required O(N) time and O(N) space.
It's can be optimised using a two-pointer approach. It will require O(N) time and O(1) space.

Try solving now

2. Single Number II

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

You are given an arbitrary array ‘arr’ consisting of N non-negative integers, where every element appears thrice except one. You need to find the element that appears only once.

Problem approach

I used the bit manipulation technique to give the optimised solution for this problem.

Try solving now

3. Javascript Questions

After the coding question, he asked me about some javascript concepts like hoisting, event loop, callback hell, and tricky output question related to promises. I explained each of them in detail.

02
Round
Easy
Video Call
Duration45 Minutes
Interview date2 May 2022
Coding problem1

This round of interviews was based on my development skills.

1. Technical Questions

After a quick introduction, he asked me these questions.
1. Write a script in the Chrome DevTools to open the very first site after a keyword search.
2. Questions about my most recent projects. About tech stack, problems faced and how I solved them.
3. Javascript output questions.

03
Round
Easy
HR Round
Duration20 Minutes
Interview date6 May 2022
Coding problem1

1. Basic HR questions

Some behavioural questions and job-specific questions. Some of them are. 

1. Why do you want to join TestBook 

2. How do you find this role a perfect fit for you. 

3. About relocation.

Problem approach

Be confident and clear in your answers.

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 the purpose of the return keyword?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4782 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
1011 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6543 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3567 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114869 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58031 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35057 views
7 comments
0 upvotes