Given two strings, find if they differ by exactly two letters.
Engineer Developer Interview Questions
467,453 engineer developer interview questions shared by candidates
Given a string, return true if after jumbling/rearranging the characters of the string will it be a palindrome. and false if not. eg: given string "evlel", it can be rearranged to "level" and thus it is a palindrome, and return true. eg: 1234 cannot be rearranged to become a palindrome hence false.
Find the max k elements in an unsorted array.
Write a function to tell if three points are colinear.
Write a routine that does secret santa in O(N) time.
Giving you a starting position on a chessboard. Giving you an end position. If you are only allowed to walk diagonally, how many steps do you need to take to get to the end position?
How would you pick the middle element of a list
Write a piece of code to find the square root of a number.
Merge to sorted arrays into second array, both arrays has N elements, but second array size is N * 2. So you merge both arrays in second array in a sorted way.
You have 4 aces and a king in a set of cards, what's the probability of get kind before all aces.
Viewing 1111 - 1120 interview questions