Write a function to remove all redundant characters in a given string.
Intern Engineer Interview Questions
24,105 intern engineer interview questions shared by candidates
Write an algorithm that does an in-order traversal of a tree recursively. Now, write the same algorithm iteratively.
Write a minPeak function for a stack (function that returns the minimum element in the stack).
From a tree, get a List of a List of Integers where each List of Integers corresponds to all ints at depth i from the root.
Implement java's pow function
Write a function that takes in an integer N and returns the sum for all numbers between 1 to N excluding multiples of 3 and 5.
There is a museum organized as NxN room. Some rooms are locked and inaccessible. Other rooms are open and some rooms have guards. Guards can only move north, south, east and west, only through open rooms and only within the museum. For each room, find the shortest distance to a guard. What is the time complexity of your algorithm?
Implement a fast exponentiation function
Logic Puzzle : How would you measure exactly 9mins using a 4 minutes and a 7 minutes hourglass
Common interview problems like string processing. Remove repeated chars in a string.
Viewing 211 - 220 interview questions