Write a non-recursive traversal of a Binary Search Tree using constant space and O(n) run time.
Development Interview Questions
137,253 development interview questions shared by candidates
write a sub string in a string
Sorting Algorithms Optimizations from 2 loops to just 1 loop
Given 8 balls and one of them is heavier than the other and also given you a balance. What's the minimum ways to find the heavier ball using the balance?
- Given a string, how would you determine if that string contains a palindrome?
Write a method to compute if a string is a palindrome, disregarding spaces.
A disc is spinning on a spindle - you don't know which way. You are given a set of pins - describe how you would use them to determine which way the disc is spinning.
Write a function that takes a string as an input and outputs an integer, e.g. turning "1234" into 1234.
The interviewer asked a question about sorting cards. Given a complete set of cards, you should sort them without using extra space.
How to arrange an array of strings in the groups of the same strings which can be obtained by permutating characters in them.
Viewing 431 - 440 interview questions