Screening Round [R1]
Questions:
- Started with Introduction and then asked about the projects, to explain high level design of it.
- How does the current tech-stack fit the requirements of the XYZ project from your resume? / Which tech stack you would choose to build the XYZ project.
- Heavy Grilling based on the projects.
- RabbitMQ vs Redis Queue.
- Why MongoDB? Why not PostgreSQL or SQL?
- Questions on JS, Node.js, Express.js:
- Event Loop.
- Difference between setTimeout and setInterval.
- Question on a snippet of code in JS.
- Where is the image source stored?
<img>
tagsrc=""
. - How does the browser download the images? = as batches of 6 to 10 images.
- What happens when you enter a URL in the browser?
- Expects answer in detail.
- TCP/IP protocol.
- 3-way Handshake.
- Ports for HTTPS: 443 and HTTP: 80.
Simple Problem at the end: Given two huge values as a String and you need to perform an Arithmetic operation:
Function perform(String a, String b, String action)
In an Integer, the max value that you can store is 9999 (4 digits).
Test cases:
-
num1 = "12345678"
-
num2 = "99999999"
-
action = "compare"
-
num1 = "12349999"
-
num2 = "99991111"
BF: to go digit by digit.
To optimize, we go by chunk by chunk of size 4.
Solution: a + b <= maxValue(9999) => a <= maxValue(9999) - b.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.