Write a routine that does secret santa in O(N) time.
Software Engineers Interview Questions
420,052 software engineers 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.
Given two strings, find if they differ by exactly two letters.
Write a function to tell if three points are colinear.
Write a piece of code to find the square root of a number.
Design a stack that has an O(1) max() method.
What are the most challenging tasks you faced in your previous projects and how did you handle them
One of the question was on Designing & Code a TTL Cache with some modifications
explain basic OOP concepts.
Viewing 1131 - 1140 interview questions