Write a function addSubtract that will do the following: addSubtract(5)(8)(3) -> 5 + 8 - 3 -> 10 addSubtract(2)(1)(1)(5)(3)(2) -> 2 + 1 - 1 + 5 - 3 + 2 -> 6 etc.
Developer Interview Questions
639,817 developer interview questions shared by candidates
There were 2 questions: 1 design and 1 implementation. The design was something like the following: you have a billion google searches a day, design a data structure which lets you pull out the top 100 unique ones at the end of the day.
Find the maximal and minimal number in an array of integers
Define binary search tree. Develop a procedure to verify a binary search tree.
Wie würden Sie eine Reihung von einer Million Zahlen sortieren?
A task in which I was required to print all numbers between 1 and a million - with no repeating digits - Easy enough! Just can throw you off guard a bit
Ist ein 2D-Feld gegeben, das ein Feld beschreibt (0 = Wasser, 1 = Land), schreiben Sie einen Algorithmus, der die Anzahl der Inseln zählt (zwei Stücke Land berühren sich, wenn sie entweder vertikal oder horizontal nebeneinander liegen, nicht diagonal).
1. mutable, non mutable classes in Java 2. declaring constants in Java 3. x^y algorithm and its optimization. 4. second largest number from Binary Tree
Find the number of ways to get from one corner of a grid to the opposite corner, by going down or right only.
Check if a string is balanced
Viewing 471 - 480 interview questions