Write a function to swap n bits of a variable from position x and position y
Software Interview Questions
551,361 software interview questions shared by candidates
Something about an alien dictionary that I had to find the correct sorting of the letters.
solve leetcode easy? solve leetcode hard?
Parse a string containing numbers and "+", "-" and parentheses. Evaluate the expression. -2+(3-5) should return -4.
The questions are easy and common, but I was very disappointed with the second phone interviewer. The first interviewer was very nice and supportive. The first question was to return the value of a roman number given in a string. The question for the second phone interview was to print out the paths to all leaves of a binary tree.
Convert a binary tree into a circular doubly linked list. The order of the elements in the linked list have to be the order of elements you get when you do an in order traversal of the binary tree.
1. Given two strings, determine whether they are anagrams. 2. Given a list of strings, return a list of lists of strings, which represents the list grouping strings by whether they are anagrams of one another.
Find if one string is "oneEditAway" from another string
Multiply two big ints.
Please read about us
Viewing 2731 - 2740 interview questions