Pregunta de entrevista de Proofpoint

1. write a function that gets a number and return if its a power of 2 2. data structure manipulations 3, Threads lock