Filter interviews by
I applied via Company Website and was interviewed in Sep 2021. There were 4 interview rounds.
Top trending discussions
I applied via Naukri.com and was interviewed in Mar 2021. There were 5 interview rounds.
I applied via Recruitment Consultant and was interviewed in Dec 2020. There were 4 interview rounds.
posted on 14 Jan 2025
Verify if a given string is or not a palindrome
I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.
Data Structure related questions
I applied via Approached by Company and was interviewed in Jul 2023. There were 2 interview rounds.
posted on 21 Jan 2025
I applied via Walk-in and was interviewed in Aug 2021. There was 1 interview round.
Producer consumer problem solution code
Use synchronized keyword or locks to ensure thread safety
Use wait() and notify() methods to coordinate between producer and consumer threads
Use a shared buffer to store data produced by producer and consumed by consumer
Example: https://www.geeksforgeeks.org/producer-consumer-solution-using-threads-java/
Code for atoi function
Loop through the string and convert each character to its integer value
Multiply the current result by 10 and add the integer value of the current character
Handle negative numbers and invalid input
Creating two threads and synchronizing them in a multi-threaded example.
Create two threads using the Thread class in Java.
Implement the run() method for each thread.
Use synchronized keyword to ensure thread safety.
Example: Thread t1 = new Thread(new MyRunnable()); t1.start();
Example: Thread t2 = new Thread(new MyRunnable()); t2.start();
I applied via LinkedIn and was interviewed in Apr 2021. There were 4 interview rounds.
Implement table tennis scorer
Senior Software Engineer
785
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
339
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer2
329
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Analyst
272
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Software Engineer
270
salaries
| ₹0 L/yr - ₹0 L/yr |
Hewlett Packard Enterprise
IBM
Cisco
NetApp