Pergunta de entrevista da empresa Applied Materials

Programming Test 1.write a program check if the expression isbalanced or not? 2. AAAABBBCCDDDD you have to print it as 4A3B2C4D 3.find the count of longest sequence number in arrays {1,5,7,8,3,1,2,3,4,5,9} , answer is 5, {1,2,3,4,5} 4. Implementation of Blocking queue enque and deque methods