i
DP World
Filter interviews by
I applied via Recruitment Consultant and was interviewed in Aug 2021. There was 1 interview round.
Find all nodes at a distance K from a given node in a tree.
Use DFS to traverse the tree and mark the nodes at distance K from the given node.
Maintain a visited set to avoid revisiting nodes.
Use a queue to keep track of the nodes to be visited next.
If the given node is the root, traverse the entire tree and mark nodes at distance K.
If K is 0, return the given node itself.
Top trending discussions
I applied via Hirist and was interviewed in Apr 2024. There were 2 interview rounds.
I applied via Recruitment Consulltant and was interviewed in Jan 2022. There were 2 interview rounds.
Checked and unchecked exceptions are used in Java to handle errors. Checked exceptions must be handled, while unchecked exceptions do not.
Checked exceptions are checked at compile-time and must be handled using try-catch or throws keyword
Unchecked exceptions are not checked at compile-time and do not require handling
Example of checked exception: IOException
Example of unchecked exception: NullPointerException
I applied via Approached by Company and was interviewed before Mar 2021. There was 1 interview round.
Yes, I have used multithreading in software development.
Multithreading is the ability of a central processing unit (CPU) to execute multiple threads concurrently.
It allows for parallel execution of tasks, improving performance and responsiveness in applications.
Multithreading can be used to perform tasks in the background while the main thread handles user interactions.
Examples of multithreading in software development...
UI coding test depending on your experience
I applied via Naukri.com and was interviewed before Nov 2023. There was 1 interview round.
posted on 25 Nov 2024
I applied via Referral and was interviewed before Nov 2023. There was 1 interview round.
We talked about my previously experience and about some points of java developing: API rest, AWS cloud, JPA, hibernate, spring boot and spring security
I applied via LinkedIn and was interviewed in Jun 2023. There were 4 interview rounds.
Questions related to DSA, mostly String manipulation,
Executive
124
salaries
| ₹1.8 L/yr - ₹8.5 L/yr |
Assistant Manager
105
salaries
| ₹4.6 L/yr - ₹18 L/yr |
Software Development Engineer II
80
salaries
| ₹30 L/yr - ₹67 L/yr |
Operations Executive
71
salaries
| ₹2.2 L/yr - ₹7.2 L/yr |
Manager
69
salaries
| ₹7.3 L/yr - ₹32.5 L/yr |
Adani Ports and SEZ
Container Corporation of India
Jawaharlal Nehru Port Trust
Krishnapatnam Port