About 10 minutes discussion on my project. Then I was asked to code the solution for a coding question. The question was to find the max repeating element in O(n) time and O(1) space.
Sde Interview Questions
16,604 sde interview questions shared by candidates
I had two problem-solving problems
what was your biggest failure and how you cope with it?
Q1) Two Robots landed from a space-ship. The initial landing position of the space-ship is called 'HOTSPOTS'. You need to implement the below method so that they meet. Note: Consider this below Main class is running parallelly on both machines at the exact same time. There is no distinction between robots. When both robots meet they can talk with each other and stop. i.e. the MainClass execution will stop on both machines. Ex. when you call right(5), both robots move 5 steps right. Let's take the name of the robot on left as A and the robot on right as B. This is just for our understanding, the program doesn't know A and B. -----A-------B-------
Given a stack (implemented using linked list), and some pre-defined functions : push(int), pop(), and isEmpty(), write a recursive function to reverse the contents of the stack. (No loops allowed)
How you manage working in team.
Project discussion were all about it.
What tech stack did you use?
Why did you choose only this coding language?
Project explanation and internship at
Viewing 921 - 930 interview questions