Filter interviews by
Sort an array of 0s and 1s in ascending order
Use a sorting algorithm like bubble sort or counting sort
Count the number of 0s and 1s and then reconstruct the array
Alternatively, use two pointers approach to swap 0s and 1s
Top trending discussions
posted on 8 Jan 2025
NET is a software framework developed by Microsoft for building and running applications on Windows.
NET is a framework that provides a programming model, a comprehensive software infrastructure, and various services required to build up robust web applications.
.NET framework is a software development platform developed by Microsoft. It includes a large class library named Framework Class Library (FCL) and provides lang...
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Feb 2022. There were 3 interview rounds.
I am a highly motivated individual with a passion for learning and problem-solving.
I have a degree in computer science and have worked as a software engineer for 3 years.
I am proficient in programming languages such as Java, Python, and C++.
I enjoy working in a team and collaborating with others to achieve common goals.
In my free time, I like to read books on technology and watch documentaries on science and history.
Stack is LIFO and Queue is FIFO data structure. Stack is like a stack of plates and Queue is like a queue of people.
Stack is Last In First Out (LIFO) and Queue is First In First Out (FIFO)
Stack is like a stack of plates where the last plate added is the first one to be removed
Queue is like a queue of people where the first person to enter is the first one to leave
Stack is used in undo-redo functionality in text editors
It depends on the use case. QuickSort is generally the fastest, but MergeSort is more stable and efficient for larger datasets.
QuickSort is generally the fastest sorting algorithm, but can be unstable for certain datasets.
MergeSort is more stable and efficient for larger datasets, but can be slower than QuickSort for smaller datasets.
InsertionSort is efficient for small datasets, but can be slow for larger datasets.
Hea...
Semaphore and mutex are synchronization mechanisms used in multi-threaded environments.
Semaphore allows multiple threads to access a shared resource simultaneously, while mutex allows only one thread at a time.
Semaphore is used to control access to a pool of resources, while mutex is used to protect a single resource.
Semaphore uses a counter to keep track of the number of available resources, while mutex uses a lock to...
Find the repeating number in an array.
Iterate through the array and store each element in a hash table or set.
If an element is already present in the hash table, it is a repeating number.
Alternatively, sort the array and check for adjacent elements with the same value.
Time complexity: O(n) or O(nlogn) depending on the approach used.
Paging and segmentation are memory management techniques used by operating systems.
Paging divides memory into fixed-size pages and stores data in these pages.
Segmentation divides memory into logical segments and stores data in these segments.
Paging is simpler and more efficient, but can lead to external fragmentation.
Segmentation is more flexible, but can lead to internal fragmentation.
Both techniques are used to manag
Developed a smart irrigation system using IoT
Used Arduino and Raspberry Pi to collect data on soil moisture, temperature, and humidity
Developed a web application to display real-time data and control the irrigation system remotely
Implemented machine learning algorithms to predict optimal watering times based on weather forecasts
Reduced water usage by 30% and increased crop yield by 20%
Presented the project at a nationa
based on 1 interview
Interview experience
Senior Consultant
698
salaries
| ₹11 L/yr - ₹37 L/yr |
Application Developer
648
salaries
| ₹6.8 L/yr - ₹22 L/yr |
Lead Consultant
243
salaries
| ₹23 L/yr - ₹65 L/yr |
Consultant
151
salaries
| ₹8 L/yr - ₹21.8 L/yr |
Software Developer
100
salaries
| ₹6 L/yr - ₹19 L/yr |
TCS
Infosys
Wipro
HCLTech