Print the element to the right which is more frequent than the element itself.
Intern Software Interview Questions
17,771 intern software interview questions shared by candidates
Be relaxed for the online assessment. Don't become stressed out because you will solve the problems much quicker if you don't stress and overthink.
For the online coding test, fix a for loop so it outputs correctly
Tasks depend on one another. You have to find whether there exists a task A such that it depends on a task B but B depends on A too. What data structure will you use ? How will you proceed with the solution?
What's your favorite data structure?
They started with a quick introduction about themselves (there were 2 interviewees) and then asked me to introduce myself.
Then they moved on to DSA. First question was to find Top K Elements from an array of Elements.
Say You have M log files internally sorted by timestamp but the files themselves are in non sorted order and may be overlapping. (for example - File1 18:00 - 18:15, File2 17:50-19:00). Each line is a log and they are indexes and have timestamps. How do you print them out in sorted order , WITHOUT loading all to memory and sorting them (say u hav a memory limit) ?
Find a pair in BST with a given sum. If not present return -1.
Reverse every k nodes in given Linked List.
Viewing 2081 - 2090 interview questions