Student Programmer Interview Questions

970 student programmer interview questions shared by candidates

Write an algorithm that, given a list of courses and dependencies between them (e.g. given courses x,y,z you have to take course x in order to take courses y and z), outputs all of the possible sequences of course-taking.
avatar

Student Software Engineer

Interviewed at Wix

4.1
Jul 20, 2021

Write an algorithm that, given a list of courses and dependencies between them (e.g. given courses x,y,z you have to take course x in order to take courses y and z), outputs all of the possible sequences of course-taking.

First Question: Python question: Find all unique elements listLang = [CPP, PYTHON, JAVA, JAVA, CPP] Second Question: Public int foo(List<Integer> nums){ Int x = -1; Int y = -1; For(Integer num : nums){ If(x < num){ Y = x; X = num; } Return y; { What is the code supposed to do? What is the problem? How can you fix it? (They said they weren't supposed to ask this question, they were curious.
avatar

Software Verification Engineer - Student

Interviewed at NVIDIA

4.4
Apr 13, 2022

First Question: Python question: Find all unique elements listLang = [CPP, PYTHON, JAVA, JAVA, CPP] Second Question: Public int foo(List<Integer> nums){ Int x = -1; Int y = -1; For(Integer num : nums){ If(x < num){ Y = x; X = num; } Return y; { What is the code supposed to do? What is the problem? How can you fix it? (They said they weren't supposed to ask this question, they were curious.

Viewing 151 - 160 interview questions

Glassdoor has 970 interview questions and reports from Student programmer interviews. Prepare for your interview. Get hired. Love your job.