1. How would you inject HTML, CSS & JS code into an existing web app ? 2. How would you handle style/JS conflicts in above scenario? 3. Implement promise.all 4. Debounce search 5. Output based QS : const add = (function () { let counter = 0; return function () {counter += 1; return counter} })(); add(); add(); add(); 6. You are given an array of integers A representing the length of ropes. You need to connect these ropes into one rope. The cost of connecting two ropes is equal to the sum of their lengths. At each step you can select any 2 ropes and combine them to make a single rope. The length of the resultant single rope is also equal to the sum of lengths of the two connecting ropes. Find and return the MINIMUM total cost to connect these ropes into one rope.