Pergunta de entrevista da empresa Ciena

Interview asked questions based on Core Javascript fundamentals like "Event loop". He gave multiple programs and asked me to predict the output. One example is- Console.log(1); SetTimeout(func()=》Console.log(2);0); Promise.resolve().then(Console.log(3)); Console.log(4); The correct output should be- 1 4 3 2. (Event loop) 2. ES6 features Difference between let and var in depth with examples. Java- Features introduced in Java 1.8. Difference between comparable and comparator. Default interface in java 1.8 Spring boot- Asked me to design a rest API Angular- Services, Directives. Can we use two structural directives on same element. ngIf and ngfor on same div? SQL- I was asked to write some queries joining two tables and creating indexing on the table. DSA- Middle of Linked List Loop in Linked List Common node of two Linked lists