General Merchandise & Superstores interview questions | Glassdoor

Interview Questions

14,131

interview questions shared by candidates

Interview Questions

Sort: Relevance Popular Date

Find the deepest common ancestor of two nodes in a tree structure.

13 Answers

Number of 1's in binary representation of integer?

12 Answers

Most of them were expected. Almost all are problem solving questions. 1. Given a BST with following property find the LCA of two given nodes. Property : All children has information about their parents but the parents do not have information about their children nodes. Constraint - no additional space can be used

15 Answers

If you saw someone steal a quarter. Would you report it?

10 Answers

Traverse nodes in a binary tree

11 Answers

Implement a function to validate whether a given binary tree is a BST (i.e. write an isBST() function).

9 Answers

Write an algorithm to determine whether a given number is of the form (2^n)+1, where n is an integer.

17 Answers

Given a string find the first non-repeated character.

10 Answers

Determine whether the binary representation of a number if a palindrome or not, code it on a white board.

13 Answers

given an array of numbers to remove the duplicates

11 Answers
2130 of 14,131 Interview Questions