↳
Node.js applications executes code asynchronously. It is an single thread based asynchronously execution. There is no wait time for function execution. Node.js is able to execute any number of functions simultaneously. It won't wait for completion of one function . So this mechanism saves execution time and increases performance of the application . Minder
↳
Node js is not a language first of all, it 's a runtime for javascript.It is not single threaded because it uses libuv library which supports multi threading with the help of kernal. Event loop is single threaded. Node.js was created explicitly as an experiment in async processing. The theory was that doing async processing on a single thread could provide more performance and scalability under typical web loads than the typical thread-based implementation. Minder
↳
I was unable to answer some of them but I did around 60-70%
↳
In Python:.. "abcdabcva".count("ab")
↳
I answer by telling them what I do most in freetime, What's my method of studying Minder
↳
I don't give the exact definitions in google but I explained everything . Don't know whether they know the definitions only or concepts . Minder
↳
Interview: 1 1. Solved via javascript using replace, reverse string Can be done via single for loop, I have gone for readability option than performance option 2. Solved via Recursive finding of directed distance between points, then last print distance bewteen two points Writing in board is not easy, I written important sections only. Minder