Given a file path, determine if a given byte array exists in the contents of that file. The file is large so you cannot read it all into memory. The search query may be as long as the file itself.
New Grad Software Engineer Interview Questions
2,866 new grad software engineer interview questions shared by candidates
first round : access modifiers, java signature, call by value/reference , http second round : queue using java- asked me to design a message passing system.
In the first interview I was given code and had to find the bugs. Very simple. Bug were obvious like missing a delete, wrong variable / type name. So simple to the point one might not even look for them. Second interview was an easy leetcode question. Given an array find all subarrays that satisfy some condition. Third interview was implementing shared_ptr (without the it being thread-safe although its good to know how to do this, if you can do it with atomics and not mutex it would be great). Apart from the programming challenges themself you should know your STL quite well. By well I mean knowing what different contructors of shared_ptr / weak_ptr do. STL algorithms, ranges, multi-threading,etc. Apart from that move-semantics is super important know it very well. Sometimes they will ask you questions about event-loops, low-level OS concepts like memory allocations, how virtual memory works. Not so much networking (actually none at least for me).
why GEICO
What project have you worked on.
Why Yelp?
Find maximum(minimum) cost path in matrix.
notification system
The hacker rank was a pretty easy string/json parsing question.
I only remember the easy ones :S - How would you improve Yelp - Why do you want to work here - whats does HTTP stand for - what's the kill code on linux - in memory, what's the difference between a primitive and object - what's a way to set up a large database to find things quickly - what's the difference between hashtable and hashmap? - find equilibrium index
Viewing 1271 - 1280 interview questions