Zscaler Interview Experience for C++ Developer

Round 1-

  • Tell me about your projects
  • Then followed by some basic oops os questions like friend function, virtual function, polymorphism, deadlock
  • Then explain the OA question, then discuss on segment tree(as in the solution I was using a segment tree)
  • Then gave a question on bits

(Need to replace the last 4 bits with the last 5th 6th 7th 8th bit )

Round 2

Three DSA questions

Then some networking questions like VPN (how it works as well)

  • What is tunneling in networking, TCP/IP model with protocol related to each layer

Round 3

  • Search in a rotated sorted array
  • Then the code itself started asking
  • Who is calling main function
  • What is this main thing (thread or process)
  • He said thread , then asked why it is thread not a process
  • Scheduling algorithms(For what these algorithms are used)
  • Then dynamic memory allocation
  • What is cache where it is located
  • When you are running a code how is memory allocated
  • Then allot of things in pointers void pointers , smart pointers, typecasting all these pointers kept on asking things by writing something on screen what will be output and so on
  • What magic will happen on writing virtual keyword
  • Friend function, polymorphism
  • Operator overloading (write code)

Round 4

  • Was playing with pointers
  • Asking me outputs
  • Kept on doing stupid things

Then a simple bits question

  • Like we have given a number say 5 – 101 binary
  • Return a number 11000….30times
  • Means shift all set bits to left in 32 bit representation

Contact Us