Reverse the words in a sentence. For example, "Have a nice day" becomes "day nice a Have"
Software Engineer Interview Questions
419,648 software engineer interview questions shared by candidates
string compression: aaabbbbcc ->a3b4c2
You have two linked lists that merge at some node. The lists could be billions of nodes long. Find the node where the lists merge in the most optimal time while using a low amount of memory.
You have 8 balls. All are identical except one is slightly heavier. You have a balance. What is the minimum number of weighings required to find the heavier ball?
Describe a function (in C) that does the following Input : an integer. Output: if that integer is 4, the function returns 7. if that integer is 7, the function returns 4. constraints: the input is SURE to be either 4 or 7. no need to validate. you are not allowed to use any condition/flow commands (if, switch, while, for, trinary operator...) you are not allowed to use any external library or import anything (like math..) you are not allowed to use %(modulu), * (multiplication)
How many unique paths are there from B-L point to the T-R point of a chess table? What would be your approach to calculate this?
There is a singly linked list of ints, write a function that takes the head pointer, and prints the list in reverse order
Code a program to check if a given string is matching a given regular expression
How do you print all elements of a linked list.
Given two unsorted arrays, one with event start times and one with end times, find out if any two events overlap.
Viewing 531 - 540 interview questions