BrowserStack | SDE 2 | Screening round
Anonymous User
1355

Applied directly through BrowserStack workday website without referral.

Screening Round [R1]

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, Nodejs, ExpressJs something like

  • Event Loop
  • Diff between SetTimeOut and SetIntermediate
  • Question on snippet of code JS
  • Where is the image source stored? Img tag src=””
  • How does the browser download the images? = as batches of 6 to 10 images

What happens when you enter a URL on 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 a Integer, 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 optimise we go by chunk by chunk of size 4
Solution: a + b <= maxValue(9999) => a <= maxValue(9999) - b

Comments (4)