Given an infinite stream of numbers, find the top 50 integers. What's the data structure to use, and what's the time complexity.
Desarrollador Ruby Junior Interview Questions
716,728 desarrollador ruby junior interview questions shared by candidates
Write a program to find the square root of a double.
Write a function to search for a string within another string. Analyze it's complexity, and propose optimizations.
You have words separated by white spaces. You need to reverse their order in place.
Reverse a string of words "Hi I am John" as "John am I Hi" without using array functions like split , reverse or join?
Use objective-c write code to return the first repeated integer from a given array, with O(n) time
copy ctor, operator overloading, oops concepts, puzzles, data structures.
Write an algorithm to verify if a tree is a binary search tree.
1. Given a string, find the smallest window with greatest no. of distinct characters 2. k sorted array. 3. longest distance between a node and its ancestor.
Divide two numbers without using / or % and return quotient.
Viewing 911 - 920 interview questions