Filter interviews by
I applied via Naukri.com and was interviewed in Sep 2021. There was 1 interview round.
Program to find the Next Smaller Element
Create an empty stack
Traverse the array from right to left
Pop elements from stack until a smaller element is found
If no smaller element is found, output -1
Push the current element onto the stack
Return odd and even numbers from two stacks, one full and one empty, without using any other memory.
Pop elements from full stack and check if it's odd or even
Push odd elements to one stack and even elements to another
Push elements back to full stack in alternating order
Time complexity: O(n), Space complexity: O(1)
Top trending discussions
I applied via Approached by Company and was interviewed in Oct 2024. There were 3 interview rounds.
One coding test happen
Using stream API for Data Structures and Algorithms
Stream API in Java can be used to perform operations on collections like filtering, mapping, reducing, etc.
It can be used for implementing various data structures and algorithms efficiently.
For example, you can use stream API to find the sum of all elements in an array or filter out even numbers from a list.
Using stream API to filter a list of numbers and find the sum of even numbers
Use Stream.filter() to filter out even numbers
Use Stream.mapToInt() to convert stream to IntStream
Use IntStream.sum() to find the sum of even numbers
I applied via Approached by Company and was interviewed in Jan 2022. There were 4 interview rounds.
It was sort of pair programming where you will be told to implement some feature. Here they check your coding style, your approach and the architecture you follow.
I applied via Naukri.com and was interviewed before Jun 2022. There were 3 interview rounds.
posted on 15 Sep 2023
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used to provide a common base for multiple classes, while interfaces define a contract that implementing...
The design pattern commonly used in Angular is the Observer pattern.
The Observer pattern is used to establish a one-to-many dependency between objects.
In Angular, Observables are used to implement the Observer pattern for handling asynchronous data streams.
Components in Angular often use Observables to subscribe to changes and react accordingly.
OOPs concepts are fundamental principles in object-oriented programming that help in organizing and designing code.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: Ability of objects to take on multiple forms or behaviors.
Abstraction: Hiding the complex implementation details and...
Design patterns are reusable solutions to common problems in software design.
Design patterns help in creating flexible, maintainable, and scalable software.
They provide a common language for developers to communicate about solutions.
Examples include Singleton, Factory, Observer, and Strategy patterns.
posted on 17 Feb 2024
I applied via LinkedIn and was interviewed before Feb 2023. There were 2 interview rounds.
Joining in SQL Server combines rows from two or more tables based on related columns.
INNER JOIN: Returns records with matching values in both tables. Example: SELECT * FROM A INNER JOIN B ON A.id = B.id;
LEFT JOIN: Returns all records from the left table and matched records from the right table. Example: SELECT * FROM A LEFT JOIN B ON A.id = B.id;
RIGHT JOIN: Returns all records from the right table and matched records f...
I applied via Naukri.com and was interviewed before Jan 2024. There were 2 interview rounds.
Mcq and coding test on coderpad
Face 2 face, dsa and core java
I appeared for an interview in Sep 2017.
I applied via Campus Placement and was interviewed before Apr 2020. There were 4 interview rounds.
based on 10 reviews
Rating in categories
Senior Software Engineer
164
salaries
| ₹17.5 L/yr - ₹30 L/yr |
Software Engineer
84
salaries
| ₹12.8 L/yr - ₹20 L/yr |
Lead Engineer
41
salaries
| ₹25 L/yr - ₹40 L/yr |
Software Developer
18
salaries
| ₹12 L/yr - ₹19.4 L/yr |
Sdet Lead
17
salaries
| ₹25.2 L/yr - ₹38 L/yr |
Quess
L&T Construction
Ekart Logistics
Udaan