O(n) time O(1) space to print link list reversely.
Software Intern Interview Questions
17,735 software intern interview questions shared by candidates
Write a function that finds the minimum and maximum values within an unsorted array using divide-and-conquer.
Given the head pointers to two linked lists of unknown length, find the node of intersection if they do intersect.
Make a program that writes a Binary Search Tree to a file. Now create a program that reads those files and recreates a Binary Search Tree.
Find the nth fib number
Use basic arithmetic operations (+-*/) to implement sqrt function.
Given a string write a function which prints all the subsets of the string. Now make the function to return only unique solutions. For example if they give you "abc" you print out a ab abc ac b bc c Now for the unique solution constraint, if they give you "aba" the output should be: a ab aba b
Given N credits cards, determine if more than half of them belong to the same person/owner. All you have is an array of the credit card numbers, and an api call like isSamePerson(num1, num2).
Signed an NDA, so I will not post the questions.
I signed NDA for online assessments. For the phone interview, questions about DS and string manipulation. Should be good if can solve medium level HackerRank or Leetcode problems.
Viewing 41 - 50 interview questions