Fresher Engineer Interview Questions

2,398 fresher engineer interview questions shared by candidates

There are total five candidates in a local election. candidates_array = [1,2,3,4,5]; ballot_paper_array = [1,3,5,5,1,2,2,3,4,1,5,4,2,9,10]; // 9 & 10 are invalid votes Write a program to 1) Count the number of votes received by each candidate by reading the ballot paper. 2) The program should then output each candidate’s name,the number of votes received & the number of invalid votes.
avatar

Fresher Software Engineer

Interviewed at GammaStack

3.8
Jun 16, 2019

There are total five candidates in a local election. candidates_array = [1,2,3,4,5]; ballot_paper_array = [1,3,5,5,1,2,2,3,4,1,5,4,2,9,10]; // 9 & 10 are invalid votes Write a program to 1) Count the number of votes received by each candidate by reading the ballot paper. 2) The program should then output each candidate’s name,the number of votes received & the number of invalid votes.

Viewing 401 - 410 interview questions

Glassdoor has 2,398 interview questions and reports from Fresher engineer interviews. Prepare for your interview. Get hired. Love your job.