Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
GreyOrange interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

GreyOrange
upvote
share-icon
4 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures and Algorithms, Git, Low-level design, Java, OOPS, DBMS.
Tip
Tip

Tip 1 : Keep the focus on the quality of the question and its various solutions rather than the number of questions solved for DSA.
Tip 2 : I would recommend enrolling on some courses for DSA to regulate your learning as I enrolled the DSA with Java from Coding Ninjas and practised over the LeetCode platform.
Tip 3 : Don't fear of rejection, always welcome the opportunity because if you get rejected you will definitely be a better person in professional as well as personal life than before attempting the interview.

Application process
Where: Other
Eligibility: NA
Resume Tip
Resume tip

Tip 1 : Keep your resume more specific to a particular domain rather than mentioning all the tech stacks you are aware of, it will make it easier for the recruiter to shortlist you for the opening.
Tip 2 : Keep your resume simple and short (1 page), try to mention specific words to explain your work in a project very well and then you can explain your role in the one on one interview.

Interview rounds

01
Round
Medium
Video Call
Duration90 Minutes
Interview date5 Mar 2022
Coding problem1

1st round was mainly focused on the fundamentals of all technologies that a software engineer required for working.
My interview is scheduled at 10:30 AM on the 5th of March 2022 over google meet. In the starting, my interviewer introduced herself and the team/project in which she is working. Then I introduced myself, my study background and the role I was playing in my previous organization. Then after the introduction, we directly move on to the DSA basics like maps and binary search concepts. She gave me a problem on google chat to solve on any compiler. I first read the problem and discussed the outcomes to understand the problem more deeply. Then I thought of approaches to solve the problem, the problem was to find the occurrence of a given number in a sorted array. I solved with the linear search approach then she asked me to optimize my solution then I went for the Binary search approach and I wrote the code and ran all the test cases she gave to run. Details for approach discussion is mentioned below in the problem statement section. After this code discussion we still had 45 mins there she went through my resume and started asking about my current project and the technologies I am working on. Then she asked a lot of questions on git, docker, JS, OOPS, and DBMS. She also asked me to write some SQL queries to fetch the specific data from tables to check my command of SQL technology. She asked about containerization, the difference between a Virtual machine and containerization, and how to restart and run the container in a docker based environment. Then she asked me commands to revert changes in git commit and git stash related, she asked me to reset the last 2nd commit which I was unable to answer exactly to the point but she helped to reach the answer and taught me this is how you can reset the last 2nd commit. After this I felt really comfortable discussing my approaches with her and then she is also helping me to reach the answer. I was enjoying the questions she was asking me, it felt like I am sitting in a lightning round of questions. Last she asked me about a SOLID concept which is totally a new term for me there I clearly mentioned to her that I heard this for the first time in my life rather than guessing about it. But I can assured her that I am very much open to learn and adopting new technologies. This is where she was done with all the questions she had for me and we still have 7-8 mins left. Then I asked more about the organization and the projects running on. More specifically about the candidature skills looking for the opening, about the work culture and growth as an individual as well as a team member.
In the last, I asked her about my interview feedback, not the verdict but the actual approach discussion and things to work on for the improvement there she told me to learn and explore the relational database and SOLID basics. I noted this feedback from her and then we both left the meeting.

1. Occurrence of X in a Sorted Array

Moderate
26m average time
0/80
Asked in companies
HSBCSAP LabsDirecti

You have been given a sorted array/list of integers 'arr' of size 'n' and an integer 'x'.


Find the total number of oc...

View more
Problem approach

First, I told the brute force approach to count the frequency of x with a time complexity O(N).
Then I told her that we can optimize this O(N) to some O(log(n)) using binary search. So here, we 1st find the occurrences of number x and then run the loop to match the value with the given number between left and right indexes, which reduces the time complexity to {O(log(n))+count}
Then I tho...

View more
Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date5 Mar 2022
Coding problem1

After I asked the HR about the 1st round verdict he replied me to get ready in 10 mins for the 2nd round as I have cleared the first round, but I remember I was travelling for some personal reasons on that day so I asked HR to reschedule my interview after 3-4 hours. So he scheduled my 2nd round at 3 PM on the same day( 5 Mar 2022), I confirmed the timing and my availability and the call were scheduled. This is the hiring manager interview in which I am going to join if I am selected.(luckily today I am working in thisteam)

In the starting, the same thing the introduction part he introduced himself and the product and technologies he is working on. Then I introduced myself, my study background and the role I was playing in my previous organization. Then he went through my resume and he verified by just asking when did I complete my graduation, and whether my last organization was my campus placement or not. After this, he saw that I mentioned that I had secured city rank 2 in IMO (Maths Olympiad), so he asked me for some good hard level puzzles to solve. He gave me the famous duck, fox and pond puzzle, which is totally a new kinda puzzle for me to solve. I discussed a lot of different scenarios to reach the answer. But he was not focused on the answer he was mainly focused on the approach to how did I reach that verdict. He also helped me to get to the correct path for reaching the solution. After almost half-hour of discussion, he was satisfied with my approach. Then he asked me another problem how can we get recommendations while writing words in a search string.(For eg. undersEA, underSTAND underSTOOD) So for this, I was going to use different data structures like maps, strings and trees. But then after discussing I reached using 1 approach using arrays of strings to store and then recommend suggestions of the word while writing the word. Another approach I suggested is to use of Trie data structure which has been used for this kinda problem. The interviewer was satisfied when I told him 2-3 approaches, and he told me that there are so many ways to solve one problem, sometimes we might go with the higher time complexity solution for the quality purpose rather than a less time complexity solution. After this he again went through my resume and saw that I have a great command of SQL queries, so he asked me to design a plot sales management system using SQL and Java language. I designed the low-level structure of the tables used to store data and classes used for the application design. Then I asked him do I have to write running code for this design or not, he said not required he was satisfied with my approach and design. Till now we already have crossed 75 mins in this interview which was scheduled for 60 mins. But we both enjoyed this discussion so we didn't care about the time. He was judging me on my approaches to any real-time problem. In last also he gave me 1 more puzzle to solve in which I need to find the number of rabbits after N months, Conditions given that every month each pair generates 1 new pair of rabbits. At the start, there are 2 rabbits alive. After giving an answer and explaining how did I reach 2^N, he said that he is done from his side. Then I asked about the work culture in this organization, about his journey so far in GreyOrange and about the day to day activity tech stacks used for the development. At last, when the discussion was so good I was expecting a positive response from the Hiring Manager as well. So I called HR after 1 hour and he said they will get back to me with the results by Monday as it was late on Saturday.

1. Puzzle

A Duck that is being chased by a Fox saves itself by sitting at the centre of a circular pond of radius r. The Duck can only fly from land and is not able to fly from the water. Furthermore, Fox cannot swim. The speed of the Fox is four times the speed of the Duck. Assuming that the Duck and Fox are perfectly smart, is it possible for the Duck to ever reach the edge of the pond and fly away to ...

View more
Problem approach

Tip 1 : Focus on the circle basic concepts. (Circumference)
Tip 2 : Speed relation with the distance and time formula might help.

03
Round
Hard
Video Call
Duration30 Minutes
Interview date10 Mar 2022
Coding problem0

This round was scheduled with two directors of the product, in which we have started with the introduction of myself and them and about the product also. In starting only one of them joined the meeting he asked me about the feedback from the earlier interview rounds like what did you feel during the interviews and how can we improve the hiring process. After that, he asked me about horizontal scaling on large based distribution systems and some other questions about the tracking of 100 robots to a single computer which I was not able to answer up to the extent as these are mainly on High-level design and architecture but I was trying to get to the solution and he appreciated my attempt like I started with the fundamental of the threads and management using a round-robin algorithm. In between another director joined the meeting after this he asked me some behavioural questions like how would you deal with the situation when you have to deliver the project and you don't have many resources to complete that task. Which option would you prefer Work from Home or Work from Office and why? I was providing better reasoning to every question/ situation he asked. I assured him that I am a quick learner and I have an experience of leading a team during my college fest as well as in my current organization in which I owned a feature and I led a team of 3 who were more experienced than me but for the quicker development of the feature I took this decision and my management was very happy with me for this decision. Last I asked about the company's vision over the market and in perspective of adding on the clients which they clarified very clearly.

04
Round
Easy
HR Round
Duration20 Minutes
Interview date15 Mar 2022
Coding problem1

About role and responsibilities, Salary Negotiation and employee policies.

1. Basic HR Questions

What are your hobbies?

Where do you see yourself in 3 years?

Start a Discussion
Similar interview experiences
Product Engineer
4 rounds | 4 problems
Interviewed by Squadstack
2493 views
0 comments
0 upvotes
Product Engineer
8 rounds | 14 problems
Interviewed by Squadstack
1273 views
0 comments
0 upvotes
Senior Software Engineer
3 rounds | 3 problems
Interviewed by GreyOrange
697 views
0 comments
0 upvotes
Product Developer
3 rounds | 9 problems
Interviewed by Squadstack
890 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
4946 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
4258 views
3 comments
0 upvotes