What is virtual machine ?
Senior Software Developer Interview Questions
6,890 senior software developer interview questions shared by candidates
1. Sorting with different algorithms
Written Round : 1. 3 theory base Android Questions. 2. Given array with numbers from 0 to n-1, any number repeating any number of times, print repeated elements in O(n) time and O(1) space. 3. Print numbers from 1 to 10 using 2 threads in sequential order. 4. Lengthy problem statement. Design the solution and write the code implementation.(something related to occupancy of computers/ how many computers to be added in the cyber cafe so that number of people leaving the cafe without getting a computer to be minimized) 1st round: 1. Java conceptual questions on Strings etc. 2. Production ready code writing for Immutable class, Singleton and designing a web app. 3. Spring transaction management and other related workings/concepts. 4. Puzzle 5. logic based question and the approach/solution (how to reach from point A to B with minimum time/distance covered) 2nd Round : 1. Reversal of string words and not letters. 2. Designing a High Level requirement faced by the interviewer in his current position and in his team.(took almost an hour to convince him about my design; lot of why's and why not's, lot of scenario handling) 3. Writing class diagrams for the solution
concurrent hashmap and synchronized hashmap
Find Minimum element in a rotated array.
1. Find middle element in a link list ? 2. Which sorting algorithm is better for linked list and why ? 3. Psuedo code for merge sort in link list ? 4. Merging two sorted arrays ? 5. Two threads : print T1 T2 T1 T2 T1 T2 ? There might be one more question but I do not remember that now.
Which Data Structure should be used to develop a LRU cache.
In my case questions about .net development, and SQL querying.
Pretty much on Spring (in depth), REST, Hibernate and SQL Most of them were scenario based. Write a program for Stack implementation?
Implement a periodic task scheduler in C++ (not plain C). The tasks in this scheduler will be network or system probes, possibly with a wide variety of execution times. It should be possible to set a separate execution frequency for each task. These tasks will return one or more "metrics" in the form of decimal values. Store both the raw metric data and some aggregate metrics (such as average, minimum, and maximum) in a SQLite database. The aggregate metrics should be kept up to date for each new data point that you collect. If the program is run multiple times, it should continue where it left off, augmenting the existing data. Implement tasks to measure any two of the following metrics: Time to connect to a TCP server, e.g. google.com port 80 ICMP ping time to a server, e.g. google.com Total virtual memory size and current usage Current physical memory used by your process Total packets sent and received on a specific network interface Notes Some tasks are platform specific, so please indicate the platform used for development in your response. The program need only compile and run on one major operating system (whichever one you like). Focus more on the scheduler and its design than the two tasks you choose. Before submitting your source code, keep in mind that we will be reviewing your submission not just for completeness, but for code quality as well.
Viewing 911 - 920 interview questions