Zscaler Coding Questions and Answers

About Coding Questions of Zscaler

In this page you will find out all the details related Zscaler Coding Questions and Aptitude Questions asked in online assessment of Hiring Process. Apart from that here you will also find out the insights on Specific JobProfile, Interview Process, Eligibility Criteria, various steps in selection process and Offered CTC.

zensar coding questions and answers pdf

About Zscaler

Zscaler is the cloud services oriented company founded in 2007 by Jay Chaudhary and K. Kailash. It provides the best Cyber Security services and solutions through Cloud Services. 

Regardless of the device, location, or network, it delivers a cloud-based, SAAS security platform that includes web and mobile security, threat protection, cloud application visibility, and networking solutions. It also enables rapid, secure connections between users and their applications or softwares.

About Zscaler Recruitment Process

The Online Assessment consists of 2 sections : 

  1. Online Coding Assessment
  2. Pre-Placement Talk
  3. Technical Interview [ 2 – 3 Rounds ]
  4. HR Round

We have even tabulated some more information for your reference and understanding.

ZscalerRelated Informations
Position :
  • Associate Software Engineer – Dev
  • Associate Software Engineer – DevTest
Course :
  • Eligible Batch – 2019 – 2023
  • B.Tech – All Branches and M.C.A
Eligibility Criteria / Academic Qualification Required :
  • Minimum 60% or equivalent C.G.P.A. in 10th , 12th and Graduation / P.G.
  • No Active BackLogs.
Cost to Company (CTC)
  •  For Interns – 50K per Month
  • For Dev Roles – 12 LPA
  • For DevTest Role – 9 LPA  
Salary Breakdown :
  • For Dev Roles – Additional 2 Lakhs Retension Bonus + 12K USD RSU’s
  • For DevTest Role – Additional 2 Lakhs Retension Bonus + 10K USD RSU’s
Selection Process:
  • Online  Coding Assessment on HackerRank
  • Virtual WhiteBoard Interview
  • Coding Interview
  • H.R Interview

Important details of JobRoles Offered :

Specific programming skills are required according to different JobRoles like –

  1. Dev Roles – Developer ( C Programming )
  2. DevTest for C / C++, Java Programming

Prime Course Trailer

Related Banners

Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription

Sample Zscaler Coding Questions and Answers

Question 1 :Devil Groups (R->Easy)

Problem statement :

There are some groups of devils and they splitted into people to kill them. Devils make People to them left as their group and at last the group with maximum length will be killed. Two types of devils are there namely “@” and “$”
People is represented as a string “P”

Input Format:
First line with the string for input

Output Format:
Number of groups that can be formed.

Constraints:
2<=Length of string<=10^9

Input string
PPPPPP@PPP@PP$PP

Output
7

Explanation
4 groups can be formed
PPPPPP@
PPP@
PP$
PP

Most people in the group lie in group 1 with 7 members.

Question 2 : Coin Game

Raman was playing a game,  he starts with x coins. Now in every step, he wins and loses and he has to get the money or pay the money as needed. He came in contact with a psychic who can see the future and the Psychic predicted the outcomes after each step. Now Raman wants to start the game with the minimum wage where he doesn’t run out of money.  Help Raman to find what money he should start with. The only rule to keep playing is not going in a credit situation.

Input Format:

  • First line with n, number of steps in the game
  • Next n lines, n integers denoting outcomes of every game. Positive means winning and negative means losing that money.

Output Format:

  • One single integer denoting the minimum amount to start with

Constraints:

  • Number of steps<=10^9
  • -1000<=Money needed in each step<=1000

Sample Input:

    4
    2
    -9
    15
     2

Sample Output:

    7

Explanation:

If he starts with 7 rupees, then after steps : 7 ->9 -> 0-> 15 -> 17.

Question 3 : PrepInsta Name : Borrow Number

Problem statement : You have two numbers number1 and number2, your job is to check the number of borrow operations needed for subtraction of number1 from number2. If the subtraction is not possible
then return the string not possible.

Example :

  • 754
  • 658

Answer :

  • 2
  • 654
  • 666

Question 4 : Coin Game (R->Medium)

Problem Statement  :

Raman was playing a game, he starts with x coins. Now in every step, he wins and loses and he has to get the money or pay the money as needed. He came in contact with a psychic who can see the future and the Psychic predicted the outcomes after each step. Now Raman wants to start the game with the minimum wage where he doesn’t run out of money. Help Raman to find what money he should start with. The only rule to keep playing is not going in a credit situation.

Input Format:
First line with n, number of steps in the game
Next n lines, n integers denoting outcomes of every game. Positive means winning and negative means losing that money.

Output Format:
One single integer denoting the minimum amount to start with

Constraints:
Number of steps<=10^9
-1000<=Money needed in each step<=1000

Sample Input:
4
2
-9
15
2

Sample Output:
7

Explanation:

If he starts with 7 rupees, then after steps : 7 ->9 -> 0-> 15 -> 17.

Question 5 :A Good Prime Number

Problem Statement  :

A prime number is a number which is divisible by one and itself. Also a number is called a good  prime number if the sum of its digits is a prime number. For example a number 23 is a good prime number because the sum of 2 and 3 ( 2+3=5) is 5 which is a prime number. You are given an integer K. Your task is to find the kth good prime number that is greater than a provided number N.

For example , 232 is a good prime number since the sum of all digits is 7 which is a prime number whereas 235 is not a good prime number.

Input format :

  • The first line contains an integer N.
  • The next line contains an integer K.

Output format :
A single integer which is a Kth good prime number that is greater than a provided number N.

Constraints :

  • 1<=N<=10^5
  • 1<=K<<=10^5

Sample Input 1:
4  4

Sample Output 1:
12

Explanation :
Good prime numbers starting from 4 are 5,7,11(1+1=2 which is prime number),12(1+2=3 which is prime number),14(1+4=5 which is a prime number) and so on. Because the sum of digits of an individual number is a prime number And 4 th good prime number is 12 in this series.Hence the output is 12. 

Sample Input 2:
17  5

Sample Output 2:
29

Explanation :

Good prime numbers starting from 17 are 20,21,23,25,29…and the 5th prime number is 29.Hence the output is 29.

FAQs on Zcaler Motors Coding Questions

Question 1: What is the minimum qualification required to apply for a job at Zscaler?

Candidates with Minimum 60% or equivalent percentage throughout the academics can apply for the Yamaha Motors Recruitment Process.
Eligible courses are B.E / B.Tech – All streams or M.C.A.

Question 2: What kind of job positions are available at Zscaler in India?

Zscaler in India offers a wide range of job positions across different departments, including engineering, product development, sales, marketing, and customer support.

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others

Checkout list of all the video courses in PrepInsta Prime Subscription

Checkout list of all the video courses in PrepInsta Prime Subscription