A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
Amazon visited our campus for internship and full time. I took part in the internship drive and I am sharing my experience here.
Everyone who satisfied the required cgpa (probably 7) criteria was allowed to sit for this round . It was mixture of aptitude and coding questions . The main parts were :
I could solve both the coding questions in minimum time and space complexity .
We were given two DSA questions and we had to write production ready code from scratch in 30 mins. The questions were:
The code had to be syntactically correct and also all edge cases should have been covered . Additionally if you are confident enough do mention the time and space complexities. Small things like proper variable names , edge cases consideration , neat code makes a huge difference .
This was the first face to face interview round . The interviewer was friendly and made me feel at ease before starting the interview . First he had a quick look at my cv . I didn’t have any personal project / previous internships / extra technical skills .So I was asked mostly conceptual questions .
He asked me my preferred programming language . (I said C++). He asked me some questions on object oriented programming aspect like what are the main features of object oriented programming , difference between the access specifiers , where to use what , what are the benefits of oop , inheritance & polymorphism in depth etc .
He asked me some dbms questions . I was asked to write one or two sql queries mainly based on joins.
Then he shifted to DSA . I was asked about hashing – how it is implemented , types etc . I was also asked to design a hash function of my own . I couldn’t answer this question perfectly . Then I was asked two DSA questions –
LCA : https://www.geeksforgeeks.org/lowest-common-ancestor-binary-tree-set-1/
At first I couldn’t give the space optimized solution . He gave me some hints and ultimately I could give the space optimized solution .
I could give the recursive solution for this but it was not space optimized , so he gave me several hints . I followed them ,even went in the right direction but couldn’t come up with the correct solution . However I shared my thought process throughout the discussion .
This round took about 1 hour . Some of my friends were called for a second PI round .
NOTE : *It’s better to be fluent in java as most interviewers prefer that . Also it’s not always important to give the correct code. The way we are approaching the question , our thought process matters as well . Therefore *think loud.
*Verdict : Selected *
I practiced from geeksforgeeks for about 5-6 months . Initially I practiced topic wise , later when I was confident enough I started practicing company wise ( mainly for those companies which visited our campus). Also I made it a habit to read atleast one interview experience from gfg daily .
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.