Domanda di colloquio di Infosys

Interview Questions: 1.Write one sql query which describes all my knowledge of sql. 2.What is the latest react version am i using it in my final year project? What is package.json? Difference between package.json and package-lock.json? 3.How to reset the cookie from the backend? 4. When we do npm start, and if we are making any changes then how does that directly reflect on localhost without restarting the server? 5.What is indexing? Write a query for index. 6.Dsa question: An array was given and i need to return the array which contain the count of those element which are occuring more than 1. Example: {1, 2,2,2,3,3,4,4,4,4,4} Ans: {1, (2, 3), (3,2 ), (4, 5)} They also asked me to show my code on laptop and also asked from my app.jsx file that what is Layout called in that file?