Filter interviews by
To move the cursor 5 characters ahead of current position in an opened file.
Use fseek() function to move the cursor to the desired position.
Pass the current position and offset to fseek() function.
Use SEEK_CUR as the reference point for the offset.
Answering which statement about a binary heap is false.
A binary heap is a complete binary tree where the parent node is always greater or smaller than its children.
A binary heap can be represented as an array.
A binary heap can be used to implement priority queues.
A binary heap can only be a max heap and not a min heap.
Virtual function is a function in base class that is overridden in derived class.
Virtual function allows polymorphism in C++.
It is declared in base class with virtual keyword.
It is overridden in derived class with same signature.
It is called based on the object type at runtime.
Example: virtual void display() = 0; // pure virtual function
Mutex is a synchronization mechanism used to prevent multiple threads from accessing shared resources simultaneously.
Mutex stands for mutual exclusion.
It is used to protect critical sections of code where multiple threads may try to access shared resources.
Mutex allows only one thread to access the shared resource at a time.
If another thread tries to access the resource while it is locked by a mutex, it will be blocked...
Top trending discussions
posted on 29 Oct 2022
I applied via campus placement at Delhi College of Engineering (DCE), Delhi and was interviewed in Sep 2022. There were 3 interview rounds.
1 hour test of moderate to difficult level questions
posted on 7 Oct 2021
I applied via Campus Placement and was interviewed in Sep 2021. There were 5 interview rounds.
I applied via Naukri.com and was interviewed in Jul 2024. There were 3 interview rounds.
HashMap is a key-value pair collection while HashSet is a collection of unique elements.
HashMap stores key-value pairs while HashSet stores unique elements
HashMap allows duplicate values but keys must be unique, HashSet does not allow duplicates
HashMap uses keys to retrieve values, HashSet does not have keys
I am a software engineer with 5 years of experience in developing web applications using Java, Spring Boot, and Angular.
5 years of experience in software development
Proficient in Java, Spring Boot, and Angular
Strong problem-solving skills
Experience working in Agile development environment
Passionate about learning new technologies
Program to find duplicates in two lists and print them in notepad
Iterate through each element in the first list and check if it exists in the second list
If a duplicate is found, print it to a notepad file
Use a hash set to store elements from the first list for efficient lookup
Lookup annotation in Spring Boot is used to indicate that a method should be cached for faster retrieval.
Lookup annotation is used in conjunction with @Cacheable annotation to cache the result of a method.
It is commonly used in Spring Boot applications to improve performance by caching frequently accessed data.
Example: @Lookup @Cacheable("books") public List
Memory management in Java refers to the process of allocating and deallocating memory for objects in the Java Virtual Machine (JVM).
Java uses automatic memory management through garbage collection to handle memory allocation and deallocation.
Memory in Java is divided into two main areas: stack memory and heap memory.
Stack memory is used for storing primitive data types and references to objects, while heap memory is us...
A thread pool is a collection of worker threads that efficiently execute asynchronous tasks.
Thread pool helps in managing and reusing a pool of threads to execute tasks concurrently.
It improves performance by reducing the overhead of creating new threads for each task.
Thread pool can limit the number of concurrent threads to prevent resource exhaustion.
Examples include Java's Executor framework and .NET's ThreadPool cl
Implement a stack using array in a program
Create an array to store the stack elements
Implement push and pop functions to add and remove elements from the stack
Keep track of the top of the stack using a variable
I am a passionate software engineer with experience in developing web applications and a strong background in computer science.
Experienced in developing web applications using technologies such as HTML, CSS, JavaScript, and React
Strong background in computer science with knowledge of algorithms and data structures
Proficient in programming languages such as Java, Python, and C++
Excellent problem-solving skills and abili
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
1st round some apt qns,some prgramming qns are they asked
Basi aptitude and coding mcq
posted on 30 Dec 2024
I applied via LinkedIn
posted on 9 Sep 2024
Reverse a given string
Create an empty string to store the reversed string
Iterate through the original string from end to start and append each character to the new string
Return the reversed string
Software Engineer
249
salaries
| ₹6 L/yr - ₹17 L/yr |
Senior Software Engineer
246
salaries
| ₹10.7 L/yr - ₹31 L/yr |
Lead Engineer
246
salaries
| ₹14 L/yr - ₹42.2 L/yr |
Staff Engineer
158
salaries
| ₹20 L/yr - ₹52 L/yr |
Senior Engineer
134
salaries
| ₹10.5 L/yr - ₹30.1 L/yr |
Intel
NXP Semiconductors
Texas Instruments
Analog Devices