Write a function to merge two sorted linked lists. If you were to incorporate this functionality into the standard library, how would you implement it so as to "benefit from the OOP goodness"
Software Intern Interview Questions
17,773 software intern interview questions shared by candidates
Find the largest depth of a binary tree.
Merge two sorted linked lists
In an array in which elements appear multiple times, it is guaranteed that all elements except one will appear an even number of times. Find the element that appears an odd number of times.
Design an algorithm to take a list of strings as well as a single input string, and return the indices of the list which are anagrams of the input string, disregarding special characters. Given a binary tree which is a sum tree, write an algorithm to determine whether the tree is a valid sum tree or not. Then, write an algorithm that will fix the tree to make it a sum tree. Then, write an algorithm which will fix a tree to make it a sum tree by only using addition.
Mostly coding problems based on data structures and algorithms. Questions were from topics like arrays, binary trees, graphs, binary search and hashing.
DSA(Data structures and Algorithms related questions)
Find minimum index for unique characters.
There were behavioral questions too and some were kind of hard. Tell me about a time you went over and above for a customer.
Describe your projects and work
Viewing 2521 - 2530 interview questions