Latest Job Interview Questions » Technical Questions

The task is given a function rand5() which produces a random integer in the range 1 to 5, write a function rand7() which produces a random integer in ...
Company where asked this question: Google, Microsoft
Question Design a deck of cards class for poker game, then generalize it to be used in any card game. What properties, fields and methods would this ...
Question: Write recursive method that for a positive integer n prints odd numbers Answer: I usually use binary check to solve this type of questions ...
Sample Answer: Accounting equation is the basic equation that keeps all the accounts of the business in a balance. When a business is started, the ow ...
Answer: Hash tables (hash maps) - is amortized constant-time access data structures that map keys to values. Binary Trees - is a tree data structur ...
Answer Binary search tree (BST) is a binary tree which has the following properties: 1. Tree is a binary tree 2. The left subtree of a node conta ...
Company where asked this question: Amazon
Interviewed for position: SDE, SDET
Sample Answer: A trial balance is an accounting worksheet in which the balances from all ledgers maintained in the business are compiled under the he ...
Containing and hiding information about an object, such as internal data structures and code. Encapsulation isolates the internal complexity of an obj ...