1) Find the longest string in an array of heterogenous elements. What if the array has sub-arrays? 2) Basics about XSS attack, Performance, CORS 3) Design a color-picker. Input - red, green, blue values (0-255), Output - color 4) Tab design. How would you design it without JS, what changes would you make to the structure? 5) Anagrams and sorting Algo. 6) aBsrTdA -- input, ABT -- output. Return string (sorted) constructed from uppercase letters. 7) How do you find if one array is rotated version of another array.