Filter interviews by
I applied via Campus Placement
1)Balanced Stack 2)Coin change type 3)DSU codeforces question(very hard)
Remove duplicates in O(1) space complexity and create user id from array of strings.
To remove duplicates in O(1) space complexity, we can use a hash set to keep track of unique elements while iterating through the array.
To create a user id, we can concatenate the first few characters of each string in the array and add a unique identifier like a timestamp or random number.
Example: Array of strings ['john.doe', 'jane.do...
I applied via Company Website and was interviewed in Sep 2023. There was 1 interview round.
Use Dutch National Flag algorithm to sort 0, 1, 2 in single traversal
Initialize three pointers low, mid, high at start, mid, end of array respectively
Iterate through array and swap elements based on their values and pointers
Continue until mid crosses high pointer
Inorder traversal of a binary tree without using recursion.
Use a stack to simulate the recursive process of inorder traversal
Start with the root node and keep pushing left child nodes onto the stack until reaching a leaf node
Pop nodes from the stack, process them, and then move to the right child node if it exists
Top trending discussions
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Nov 2019. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2020. There was 1 interview round.
I applied via Walk-in and was interviewed in Sep 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed before Aug 2020. There were 4 interview rounds.
Java 8 introduces lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow functional programming in Java
Functional interfaces enable the use of lambda expressions
Streams provide a concise way to perform operations on collections
Default methods allow interfaces to have implementation
Date and Time API improvements
Nashorn JavaScript engine
JPA stands for Java Persistence API, a specification for object-relational mapping in Java applications.
JPA is used to map Java objects to relational database tables.
It provides a set of annotations to define the mapping between Java classes and database tables.
JPA also supports querying data using the Java Persistence Query Language (JPQL).
based on 2 interview experiences
Difficulty level
Duration
based on 3 reviews
Rating in categories
Software Engineer
3
salaries
| ₹18.5 L/yr - ₹26 L/yr |
TCS
Accenture
Wipro
Cognizant