Pergunta de entrevista da empresa Citi

What is the difference between == and === in JavaScript? What are servlets? How would you optimize your code? What is the time complexity of your solution?