Write a Square Root function for a computer without floating point calculations
Programmer Trainee Interview Questions
712,996 programmer trainee interview questions shared by candidates
"what do you do if your manager says your code is a piece of sh*t?"
Solve a Kakuro item - Given S - the sum, N - number of slots and P - you can use numbers between 1 - P. You should only use a number once and same numbers are considered as the same solution. Example: S=6, N=2, P=6 Answers: 1. 4,2 2. 5,1 3. 3,3
Given two strings, find if they differ by exactly two letters.
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?
Given a very long string composed of numbers as characters, find the four character substring that has the largest multiple. For example, given the string "809723", the two char substring with the largest multiple is "97", having a multiple 9*7 = 63.
Viewing 1501 - 1510 interview questions