Add two linked lists Input: First List: 5->6->3 // represents number 563 Second List: 8->4->2 // represents number 842 Output Resultant list: 1->4->0->5 // represents number 1405
Intern Engineer Interview Questions
18,169 intern engineer interview questions shared by candidates
Detect if two strings are anagrams from one another. (Not palindoms! Anagrams are just mixed letters)
Reverse a linked list - both iterative and recursive way.
Question regarding how to retrieve the second highest repeated number in array the second question was how to print the nodes of binary tree level wise
given an integer, output all the prime factors of that integer, ex: input: 6, output: 2,3 input 25, output: 5, 5 given an integer array, output all the numbers that appear odd number of times, ex: input: 1,2,1,3,3,4 output: 2, 4
Being only the first interview, there were no hard questions, but they asked why I liked library A or library B and such questions.
The good ol' triangle problem.
Write a function to reverse a String. I asked if I could use Java which the interviewer said was fine. After writing half the code he indicated that I actually should have written the algorithm for a character array. Ughh, I really screwed this one up but I feel like the question should have been administered better.
Don't remember the exact question but it was related to string and array (Leetcode medium)
Difference between Vertical and Horizontal scaling.
Viewing 371 - 380 interview questions