How do you swap two numbers without declaring temporary variable?
Development Engineer Interview Questions
37,123 development engineer interview questions shared by candidates
Write a function, that, given a paragraph as input, outputs the paragraph with all the words reversed.
How much would you be willing to pay to join the following game? Start with 0 dollars on the table. You flip a fair-sided coin. If the coin is heads, I add another dollar, and you flip again. If the coin is tails, you walk away with the cash on the table.
According to you what is a good code?
given an array of n unsorted integers and each number is at most k positions away from its final sorted position, give an efficient sorting algorithm.
given a matrix, you can move right or down only and cost of each move is 1. Find an optimal way to reach to right-bottom from top-left of the matrix.
Q3) Few questions on design patterns(Interpreter/ Observer/State) etc.
1) Given an array of numbers where each number has a duplicate except one, write a program to return the lone number.
Given two (huge) sets, what is an efficient way to find their intersection?
Test if a Binary tree is BST or not
Viewing 181 - 190 interview questions