Implement a Linked List class (for ints only) that supports an append function, which simply appends to the end of the list. After that, they asked me to implement an appendAt function that takes two ints as arguments, and appends the second argument to the node containing the first argument in the list. e.g for a list 1 -> 2 -> 3 -> 4 -> 5 , appendAt(3,6) would result in a list: 1 -> 2 -> 3 -> 6 -> 4 -> 5 e.g for a list 1 -> 2 -> 2 -> 3 -> 4 -> 5, appendAt(2,8) would result in: 1 - > 2 -> 8 -> 2 -> 3 -> 4 -> 5 (i.e if the first argument appears more than once in the list, then append the second argument to the first instance of the node containing the first argument) I gave an iterative solution to the problem. The interviewer then asked me to write it recursively. This one is really easy, I faltered on it for some reason.
Computer Science Intern Interview Questions
478 computer science intern interview questions shared by candidates
What is one thing outside of programming that you can attribute to your love of technology?
count the no. Of upper case, Lower case in string,
What javascript frameworks are you familiar with?
how much salary do you need?
What is wrong with the database schema
Tell me about yourself? Will you fit into this company?
What is the command you use in Linux to check the CPU usage of different processes
How will you deal with a situation where many students don't understand what you're teaching because it's their L2 language?
Are you okay with moving to Ho Chi Minh city from Hanoi?
Viewing 21 - 30 interview questions