(f2f whiteboarding) Find the most common ancestor of two tree nodes.
Sr Software Developer Interview Questions
71,561 sr software developer interview questions shared by candidates
Give a range of numbers, return 6 different numbers randomly. In O(n).
The most difficult question is how should I manage myself now after TPG Software backed out to employ me after issuing the offer of offer letter.
Behavioural Round: It is really difficult to guess whether you performed good in this round as your answers might be interpreted in different ways by different interviewers. There are no perfect answers. Do your best and leave the rest to your luck.
Problem: Given a string which has some repeated characters. Write a Java program to identify the character and print the number of occurrences
Playing with applicant and making fun on them
Data structures, algorithms, distributed systems
Imagine you are making an image drawing program. You have a contour (draws a closed contour) and you click here inside it. What do you do to fill it?
Interview 1: 1. virtual functions, inheritance, etc..easy to answer c++ questions. Conversation was for about 20-25 minutes 2. Can't exactly recall, but it was about Binary Search Tree, pretty easy to find on the web. I think it was to do with levels in BST, I used recursion in the solution. Interviewer was happy with the solution. Overall call lasted for about 1 hour and 5 minutes including some questions I asked him. Interview 2: 1. What is mutex, semaphore? 2. What is a singleton pattern and can you write one that is thread-safe 3. Write a consumer producer problem. Producer produces 1000 objects and there are five consumers that consume 10 objects at a time in round robin fashion until all of them are consumed. This means that if consumer 1 consumes 10 objects, it has to wait for consumer 2, 3, 4, 5 to consume 10 objects each before it can consume other 10.
Why doesn't C++ STL have hash_map?
Viewing 311 - 320 interview questions