Open In App

Ninjacart Interview Experience (On-Campus)

Last Updated : 20 Feb, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Ninjacart has visited our campus for hiring students for SDE. I have applied for SDE role.

Round 1 (20 mins):
 It was an online round that had 20 Aptitude questions.
Around 350 students who applied for the SDE role appeared for this round and approximately 24 members got shortlisted to the next round.

Round 2 (40 Mins):
It was a coding round hosted on Hackerrank. There was only one question, it was the medium question, and the question was not the same for each student.
Around 5 students from the leaderboard got shortlisted for the next round.

Round 3 (Technical Interview Round-1):


  • The interviewer asked me for a walk-through of my resume and I did. Then he asked me about my projects also cross-questions from the project and I explained to him.
One of my projects was a web Application in which I used the database MySQL and firebase he asked why you use both in the same project I explain this to him. He seemed satisfied.

  • He asked me to draw the database tables and their relations to the project If I were to do it as Relational Database and I did. He seemed satisfied.

  • Then he asked 1 coding question:
1. Next Greater element 
I gave him a brute-force solution first with O(n) extra space and O(n2) time complexity then he asked me to optimize it by doing it in-place with O(N) extra space which I did.
  • 
Then he asked me to write the code for it and I did, then he asked me to explain the code with the dry run I explain to him each and everything step by step.
    He was very satisfied.
  • Then he asked me to make a class whose name is ATM which has a function name (withdraw, insert, and check balance) which must be fully encapsulated and I did that.
  • Then he also asked me some oops concepts and he give me an example like Parent p=new child() and child c=new Parent() child c=new child() ask me which one is valid and how the constructor will be called if I do this I explain him everything he was very satisfied.

Round 4 (Technical cum HR):

  • He asked me some oops questions and implement the interface and abstract class and asked me the difference in both, 
  • Ask me some questions about DBMS(join concept, keys of DBMS) and asked me to write a SQL query that can display the Ith data from the table.
    And some personal questions about HR types.

Final Verdict: Selected

Tips:

  • 
 Be thorough with Data Structures and Algorithms.
  •  Practice coding just not by looking at the logic but by actually coding it.
  •  This will help a lot, and while Coding questions in the interview tell everything that you are thinking about the approach this will be very helpful for you. 
  • Know your projects and be ready for cross-question.

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads