Filter interviews by
Merge overlapping intervals in an array of integers
Sort the intervals based on the start value
Iterate through the intervals and merge overlapping ones
Return the merged intervals
Merge two sorted arrays into a single sorted array
Create a new array to store the merged result
Compare elements from both arrays and add the smaller one to the result array
Continue this process until all elements from both arrays are merged
Sort an array of strings containing only 0s, 1s, and 2s.
Use counting sort algorithm to sort the array in linear time complexity.
Count the occurrences of 0s, 1s, and 2s in the array.
Reconstruct the array with the sorted counts.
Print the left view of a binary tree
Traverse the tree in a level order traversal
Print the first node at each level encountered
Use a queue to keep track of nodes at each level
Top trending discussions
I applied via Campus Placement
Time value distance clock
Noramal basic algorithm and ,fetch api
OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.
OOPS focuses on creating objects that contain data and methods to manipulate that data.
It allows for encapsulation, inheritance, and polymorphism.
Examples of OOPS languages include Java, C++, and Python.
Dependency Injection is a design pattern where components are given their dependencies rather than creating them internally.
Allows for easier testing by mocking dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Example: Constructor injection, Setter injection
Normalization in SQL is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization involves breaking down a table into smaller tables and defining relationships between them.
It helps in reducing data redundancy by storing data in a structured manner.
There are different normal forms like 1NF, 2NF, 3NF, and BCNF that define the level of normalization.
Example: If we have a t...
Find the sum of kth to bth largest numbers in a huge array efficiently.
Sort the array in descending order to easily find the kth and bth largest numbers.
Use a priority queue or min heap to efficiently find the kth and bth largest numbers without sorting the entire array.
Once you have the kth and bth largest numbers, iterate through the array and sum the numbers between them.
I applied via Job Portal and was interviewed in Jul 2024. There was 1 interview round.
I applied via Naukri.com
UNION combines the results of two or more SELECT statements, while UNION ALL includes duplicates.
UNION removes duplicate rows, while UNION ALL retains all rows including duplicates
UNION is slower than UNION ALL as it performs a distinct operation
UNION requires the same number of columns in the SELECT statements, while UNION ALL does not have this restriction
Generic collections allow storing any type of data, while non-generic collections are type-specific.
Generic collections can store any type of data, such as List
Non-generic collections are type-specific, like ArrayList or HashTable.
Generic collections provide type safety and better performance compared to non-generic collections.
HAckerrank based test
based on 5 reviews
Rating in categories
Senior Software Engineer
161
salaries
| ₹13 L/yr - ₹30 L/yr |
Software Engineer
82
salaries
| ₹9 L/yr - ₹20 L/yr |
Lead Engineer
40
salaries
| ₹20 L/yr - ₹40 L/yr |
Sdet Lead
19
salaries
| ₹20 L/yr - ₹41 L/yr |
Senior Leader Engineer
16
salaries
| ₹37 L/yr - ₹50 L/yr |
Jio Platforms
Vodafone Idea
TCS
Infosys