Pergunta de entrevista da empresa PayPal

Q: Design data structure so that insert, delete and min operation are done in O(1) Q: In a string containing 0's and 1's, move )'s to left and 1's to right, without additional space. Q: Right view of a binary tree.