Pregunta de entrevista de SAP

1. What is difference between package.json and package-lock.json? 2. Difference between ^, ~ and * in package.json 3. BFS and DFS 4. https://www.geeksforgeeks.org/puzzle-22-maximum-chocolates/ 5. https://www.geeksforgeeks.org/puzzle-34-prisoner-and-policeman-puzzle/ 6. Function currying, Function borrowing and IIFE in JAVASCRIPT 7. Program to print pyramind of numbers 8. Reverse a string 9. Is JS single threaded or multi? 10. What configuration is needed to make ES6 compatibility. 11. Inheritance in Javascript and Prototype 12. What is OOPS and it's benifits. 13. Observable vs Promise