Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Aug 2024. There was 1 interview round.
To find the middle of a linked list, use the slow and fast pointer technique.
Initialize two pointers, slow and fast, at the head of the linked list.
Move the slow pointer by one node and the fast pointer by two nodes until the fast pointer reaches the end of the list.
The node pointed to by the slow pointer at this point is the middle of the linked list.
ANR stands for Application Not Responding, it occurs when the main UI thread is blocked for too long.
ANR can be prevented by offloading long-running tasks to background threads or services.
Optimizing code and reducing UI thread workload can also help prevent ANR.
Using tools like StrictMode can help identify potential ANR issues during development.
Threading in Android allows multiple tasks to run concurrently, improving performance and responsiveness.
Threading can be implemented using classes such as AsyncTask, Handler, and Thread.
AsyncTask is used for short background tasks that need to update the UI, while Handler is used for communication between threads.
Thread is a low-level way to create a new thread for longer background tasks.
Care must be taken to avoid m...
ArrayList is faster for accessing elements, while LinkedList is better for frequent insertions and deletions.
ArrayList uses an array to store elements, allowing for fast random access but slower insertions and deletions.
LinkedList uses nodes with references to the next and previous elements, making insertions and deletions faster but access slower.
For example, if you need to frequently add or remove elements in the mid...
Top trending discussions
I applied via Naukri.com and was interviewed in Dec 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2020. There were 3 interview rounds.
I applied via Recruitment Consulltant and was interviewed in Jul 2022. There were 3 interview rounds.
Simple leetcode easy problems like- merge two sorted array with duplicate numbers,valid parentheses, two sum,three sum.
OOP is a programming paradigm based on objects, encapsulating data and behavior for better code organization and reuse.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism to create a new class using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present the same interface fo...
I appeared for an interview in Mar 2024.
A closure is a function that has access to its own scope, as well as the outer function's scope.
Closure allows a function to access variables from its outer function even after the outer function has finished executing.
Example: function outerFunction() { let outerVar = 'I am outer'; return function innerFunction() { console.log(outerVar); }; }
When innerFunction is called, it can still access outerVar even though outerF...
I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.
Retain, weak, strong, atomic are property attributes in Objective-C for memory management and thread safety.
Retain: Increases the reference count of an object.
Weak: Does not increase the reference count, used to avoid retain cycles.
Strong: Increases the reference count and keeps the object in memory until all references are removed.
Atomic: Guarantees that the value is always fully retrieved or set in a multi-threaded e...
ARC (Automatic Reference Counting) is a memory management feature in Objective-C that automatically manages memory for objects.
ARC automatically inserts retain, release, and autorelease calls at compile time to manage memory.
It helps prevent memory leaks and makes memory management easier for developers.
Example: 'NSString *name = [[NSString alloc] initWithString:@"John"];' - ARC will automatically handle memory managem...
I appeared for an interview before Apr 2024, where I was asked the following questions.
Basic questions on maths related parts and analysis skills
Coding questions from various Data Structure parts like linkedList stack queue
based on 1 interview experience
Difficulty level
Duration
Software Engineer
22
salaries
| ₹4.2 L/yr - ₹15 L/yr |
Software Engineer2
10
salaries
| ₹8 L/yr - ₹15 L/yr |
Area Sales Executive
9
salaries
| ₹3.6 L/yr - ₹5 L/yr |
Software Engineer Level 1
7
salaries
| ₹4.5 L/yr - ₹9.4 L/yr |
Application Support Engineer
7
salaries
| ₹4.2 L/yr - ₹7 L/yr |
G4S
SIS Prosegur Holdings
Securitas
myGate