Open In App

Zscaler Interview Experience | Campus Placement Drive 2020

Last Updated : 03 Sep, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

Round 1: Online Test on Hackerrank. There were 20 MCQs of 1 marks each and 4 coding questions of total of 240 marks. MCQs were Networking, OS, and Linux/UNIX based.

Two coding questions were of 50 marks and two were 70. The questions were :

  1. You are given a binary array (with only 1s and 0s), and you are supposed to bring all the 1s to the right and all the 0s to the left, or vice-versa. The operation that can be performed is to swap two adjacent values, find the minimum number of operations needed.
  2. You start from the 0th position and at every step, you can choose to move I (i is the step number) steps forward or can remain in your position. There is a bad index in which you cannot stand. Find the maximum index you can reach in k steps after avoiding the bad Index.
  3. Given a list of names appended with roman numbers. First sort them with names, then with the numbers appended to them, in increasing order.
  4. A string question related to appending a string multiple times to get a given string. If we can make the first string by appending the second string multiple times, then we have to return the smallest string that will produce the second string by appending one or more times.

Out of around 430 students, only 12 were selected.

Technical Interview 1:

  1. Tell me about yourself.
  2. What is the complexity of quicksort and how to make it always nlog(n). He asked this question because I had a project on sorting visualization.
  3. Operating System Questions: What is virtualization (In terms of virtual memory). In a single-core system, 3 processes are running of size 526Mb each and the system memory is 1Gb. How is the os handling this? Question related to page replacement.
  4. Networking Questions: The process followed in DHCP protocol: Didn’t answer. Difference between TCP and UDP. What happens when you type www.google.com in your browser. What happens when you connect an Ethernet cable to your system. What is dynamic IP.

Then there were two coding questions:

  1. Given an array of size n and an integer k, find the maximum values of all the subarrays of size k.
  2. Evaluate an expression tree.
  3. Asked the third question, to tell the logic of forming the expression tree, but then the time was over.

Technical Interview 2 :

  1. Again started with the introduction.
  2. Asked some questions about my project which I was working on (Online multiplayer game). What server you are using. Have you written some code for the login authentication? What database are you using? Why MongoDB instead of MySQL.
  3. Then asked a coding question: Given a comma-separated list of keys and some other comma-separated values in a vector of strings(like a CSV file), parse that and return a vector of the map with key-value pairs in it.
  4. Asked about child, parent, zombie process.
  5. Difference between thread and a process, I was confused and giving wrong answers, but he went on for around 10 mins.
  6. Then loaded a question from the first round (question with the badIndex), and told me to optimize my code, I was able to give the optimization in the case when we are calling the function multiple times(by storing all the results beforehand).      

Technical Interview 3:

  1. Started with the introduction again.
  2. Told me about the devTest role.
  3. Create a function pointer, didn’t remember the syntax
  4. Tell something about virtualization in C++, I couldn’t answer.
  5. Wrote the code: char *ch = new char[10]; Asked about memory allocation in heap and stack. Create 10 character pointers.
  6. Then asked a coding question: Count the number of consecutive letters and append the number to the character. Not allowed to use the map or any extra space. Manipulations had to be done on the input itself. The only extra space given was some space at the end of the input string (which is equal to the length of the string). Struggled for an hour in that but didn’t reach the final answer.
Input : “aaaabbbca”
Output : “a4b3c1a1”

HR Round:

  1. Tell me about your experience in the past two days.
  2. What do you remember about us from yesterday’s presentation?
  3. Are you satisfied with your performance?
  4. Told about the role again in detail. (The devTest role)

In about 2 hours they informed me through a call that I was selected. A total of 3 students got the internship and full-time offer.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads