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

SDE - Intern

Coding Ninjas
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Started learning Data structure and Algorithms in my 2nd year of college along the way explored different programming languages like c, c++, java, and Python. Decided to move forward with my coding journey using C++. Participated in different coding contests conducted on coding platforms.
Application story
I participated in a hiring contest conducted by Coding Ninjas. I cleared the cutoff for the next process and received a call from HR the following week after the contest.
Why selected/rejected for the role?
I was selected because I began preparation early, allowing me to thoroughly understand the concepts and perform well in the contest.
Preparation
Duration: 2 Months
Topics: DSA, DBMS, Computer Networks, Operating System, JavaScript
Tip
Tip

Tip 1: Solve at least 200 medium-level problems on coding platforms.
Tip 2: Prepare according to the role you are applying for eg for frontend prepare javascript and for the backend prepare CS fundamentals. 

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1:Have some decent projects to show your skills
Tip 2:Highlight your strength/achievement in your resume

Interview rounds

01
Round
Medium
Video Call
Duration45 minutes
Interview date23 May 2022
Coding problem3

1. Search in Rotated Sorted Array

Moderate
30m average time
65% success
0/80
Asked in companies
MicrosoftOptumZS Associates

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4, 5] and if he rotates it by 2, then the array becomes: [4, 5, 1, 2, 3].

After rotating a sorted array, Aahad needs to answer Q queries asked by Harshit, each of them is described by one integer Q[i]. which Harshit wanted him to search in the array. For each query, if he found it, he had to shout the index of the number, otherwise, he had to shout -1.

For each query, you have to complete the given method where 'key' denotes Q[i]. If the key exists in the array, return the index of the 'key', otherwise, return -1.

Note:

Can you solve each query in O(logN) ?
Problem approach

Despite rotation, the array maintains sorted properties.
One-half of the array, either left or right, remains sorted.
Binary search can still be applied by identifying the sorted half and checking if the target lies within it.

Try solving now

2. DBMS

Difference between SQL and NoSQL. (Learn)

Problem approach

Tip 1:Practice CS Fundamentals before your interview.

3. DBMS

Writing Query to Find Second Highest Salary in SQL

Problem approach

Tip 1:Practice some basic questions on SQL queries. 
 

02
Round
Easy
Video Call
Duration30 minutes
Interview date7 Jun 2022
Coding problem1

In this round, I discussed my project. I showed him a demo of my project. He asked a few questions about my project, which I was able to answer.

1. Simulating Double-Click: Enhancing User Experience with Single-Click Mouse Event

Implement the double-click functionality using a single-click mouse event. Consider it as a double-click only if the second click occurs within one second.

Problem approach

Store the time of the first click in a variable.
On the second click, check if the time difference is less than one second.

Here's your problem of the day

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

Skill covered: Programming

Which keyword is used for inheritance?

Choose another skill to practice
Similar interview experiences
company logo
Teaching Assistant
1 rounds | 1 problems
Interviewed by Coding Ninjas
678 views
0 comments
0 upvotes
company logo
Teaching Assistant
1 rounds | 2 problems
Interviewed by Coding Ninjas
747 views
0 comments
0 upvotes
company logo
Teaching Assistant
1 rounds | 2 problems
Interviewed by Coding Ninjas
908 views
0 comments
0 upvotes
company logo
Problem Setter Intern
3 rounds | 4 problems
Interviewed by Coding Ninjas
564 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
14560 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
14082 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9631 views
2 comments
0 upvotes