You are given an array of n integers which has integers from 1 to n. Some elements can be repeated multiple times and some other elements can be absent from the array. Write a program that takes O(1) space apart from the input array and O(n) time to print which elements are not present in the array and the count of every element which is there in the array with the element number.
Software Development Engineer I Interview Questions
1,214 software development engineer i interview questions shared by candidates
1.find all numbers in a list that occurs odd times. 2.validate BST
Basic OOP and data structure questions
Describe what you think of a "good code".
What is the difference between an abstract class and an interface?
Fix some bugs in the code to make it work.
sort linked
First section involved, some kind of mathematical logic and puzzle. Second section was about write up the appropriate code for the storage goods using tree ADT. I had to actually write up codes and explain my approach in the blank page.
How to design a parking lot management system.
Given a certain number of tasks with specific start and end times, find the maximum number of jobs that can be done
Viewing 731 - 740 interview questions