Pergunta de entrevista da empresa Tripadvisor

3 coding and 1 debug question. The coding questions were: 1) Find the biggest single-digit number that occurs in an array 2)Given a binary string, perform the operations: a)Reduce by 1 if the number is odd. b) divide by 2 if even. Continue this until the number is 0 and return the number of operations. 3)The battleship problem