Uptycs interview question

1. Implement a simple callback function. 2. Difference between callback, promise and async-await 3. First non-repeating character in a string? 4. What are the different libraries that you've used? 5. Implement deep copy function 6. Find(implement) K where 2^k ~ N. (N is given)