Write a routine that does secret santa in O(N) time.
Programmer Intern Interview Questions
716,624 programmer intern interview questions shared by candidates
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.
questions based on your test, problem solving approach, java multithreading, query optimization etc.
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.
Given two strings, find if they differ by exactly two letters.
Write a function to tell if three points are colinear.
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.
Write a piece of code to find the square root of a number.
How do you find the middle of a linked list, rounding up in the case of an odd number of items but with no differentiation between an even or odd number?
Viewing 1531 - 1540 interview questions