How to swap 2 variables without using a third variable. And the team leader asked to write a code snippet for assigning 5 colors to the countries on the world map so that no adjacent country has same color.
Software Interview Questions
551,534 software interview questions shared by candidates
Think about Facebook - you have a list of friends and each of them has a list - how do you come up with a list of friends-of-friends?
they are not ask any technical questions just want to know about your family background..
How would you check how many instances of a process is running given part of a name of that process? Had no idea how to answer this.
Should have at least asked: "Would you like a glass of water or something?"
On what magazine cover page would you line to be on?
How much memory a class take without any data memebr and functions
Create an iterative version of a recursive algorithm that uses as little extra space as possible.
you are given an unsorted array of integers which are showing the price of a stock during the time. you wanna buy some amount of the stocks at some point, and sell them at a later time, so that to maximize your revenue. Asked for O(n) algorithm.
Describe the details of how communication happens when the sender and receiver, both, are roaming. With diagram.
Viewing 3251 - 3260 interview questions