As technical as you can explain what you currently do.
Software Engineer Interview Questions
467,387 software engineer interview questions shared by candidates
You are given a predefined function which generates random number from 1 to 5. You need to use this function and create another function which will generate random number from 1 to 7. Now most important thing is to remember that new random function should be even (i.e. the number generated should be unpredictable, and evenly spaced out).
how would you attach an event to an object
Given an array of 1..n numbers with 2 numbers missing in it find the missing ones.
Find the k largest elements of a constant input stream of values.
Given a sum, find two numbers in an array with that sum.
given an integer input stream, and more and more integers are still going in. build an algorithm to return 3 minimum integers at any point of time.
A file system search question, but using a set of predefined apis and data structures which included pre-populated files.
How do we find if a linked list has a loop..
Flatten a 2D linkedList . A node contains 3 parameters namely, data , pointer to left, pointer to down . The aim of the function is to flatten the linkedlist. Ex: 1-->2-->4 | V 3 Answer is 1-->2-->3-->4 Ex: 1 --> 2--> 3--> 4 | 5-->6-->7 | | 8 9 Answer is 1-->2->5 -> 8 -> 6->9 ->7-> 3-> 4 He asked me to make the same linkedlist flatten not to create a new LinkedList or print the elements
Viewing 2381 - 2390 interview questions