Interview questions
Software Development Engineer interview questions
30 questions. Tap “Show answer” to check yourself.
-
puzzle-There are 1000 wine bottles. One of the bottles contains poisoned wine. A rat dies after one hour of drinking the poisoned wine. How many minimum rats are needed to figure out which bottle contains poison in hour. link-http://quiz.geeksforgeeks.org/puzzle-19-poison-and-rat/
-
Deadlock in operating system
-
Launch Mode of Activity in Android
-
Given a String, write a function, which will return a boolean. The function will tell you whether one permutation of the string is Palindrome or not
-
Given an array, which consist of natural numbers only. The elements are in random order, tell the first missing natural number in the array. e.g 4,6,3,1,6,8 o.p - 2 1,2,3 O/P - 4
-
Given two words, find the similarity between them. You have to develop your own sense of similarity here. Normalize length of LCS by the total length of the string.
-
Given a binary tree, return doubly linked list of all the nodes at each level.
-
Implement the "People you may know" feature of facebook with code. Use BFS and counter (for mutual friends).
-
Longest increasing subsequence
-
It was more about array and 2-D matrix
-
Define a class template?
-
How can we catch all kind of exceptions in a single catch block?
-
Explain a static variable?
-
What is the meaning of base address of the array?
-
Explain command line arguments?
-
What is the purpose of external storage specifier?
-
Define the scope resolution operator?
-
What is keyword auto for?
-
What do you mean by the block scope variable in C++?
-
Describe a namespace?
-
Can you give an example of Stored Procedure?
-
Define Re-factoring in Software?
-
Tell the Difference between synchronized and synchronized block?
-
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
-
Differentiate between Static Synchronization vs. Instance Synchronization?
-
What is the use of Join method?
-
What is the use of volatile in Java?
-
What do you mean by Hash Code collision?
-
How static variable work in java?
-
What is Annotation in Java?