Internship Engineer Interview Questions

24,377 internship engineer interview questions shared by candidates

In my first interview round, I was given a problem based on the queue. The question was that you have been given a list of integers in which you can move only in forward direction basically you are given two function getnextelement() and endlist() when endlist() is true then you have completely traversed the list. Now I was asked to develop an algorithm such that I print first odd number the first even number then second odd and second even and so on for example, the list is 1,4,6,7,2,3 my output will be 1,4,7,6,3,2
avatar

Software Engineer(Internship)

Interviewed at Salesforce

4
Mar 31, 2020

In my first interview round, I was given a problem based on the queue. The question was that you have been given a list of integers in which you can move only in forward direction basically you are given two function getnextelement() and endlist() when endlist() is true then you have completely traversed the list. Now I was asked to develop an algorithm such that I print first odd number the first even number then second odd and second even and so on for example, the list is 1,4,6,7,2,3 my output will be 1,4,7,6,3,2

Viewing 651 - 660 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 24,377 interview questions and reports from Internship engineer interviews. Prepare for your interview. Get hired. Love your job.