i
Zopper
Filter interviews by
Detect cycle in a linked list by using Floyd's Tortoise and Hare algorithm.
Use two pointers, slow and fast, to traverse the linked list
If there is a cycle, the two pointers will eventually meet at some point
Time complexity of this algorithm is O(n)
To find the starting point of a cycle in a linked list, we can use Floyd's Tortoise and Hare algorithm.
Use Floyd's Tortoise and Hare algorithm to detect a cycle in the linked list
Once a cycle is detected, reset one pointer to the head and move both pointers at the same pace until they meet at the starting point of the cycle
posted on 2 May 2024
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
The 4 pillars of OOP are encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Inheritance: Creating new classes from existing classes, inheriting their attributes and methods.
Polymorphism: Objects of different classes can be treated as objects of a common superclass.
Abstraction: Hiding the complex implementation details and showin
posted on 7 Sep 2024
I applied via LinkedIn and was interviewed in Mar 2024. There were 4 interview rounds.
First round was coding test conducted by their IDE where you can program in any language like on hackerrank IDE . 5 question were asked from easy to hard
Stack is used for static memory allocation and stores local variables, while heap is used for dynamic memory allocation and stores objects.
Stack memory is allocated in a contiguous block and is faster to access compared to heap memory.
Variables stored on the stack have limited scope and lifetime, while objects on the heap can persist beyond the scope of the function.
Stack memory is managed by the compiler, while heap m...
Compiler translates entire code into machine code before execution, while interpreter translates code line by line during execution.
Compiler translates entire code into machine code before execution
Interpreter translates code line by line during execution
Compiler generates error messages after scanning entire code
Interpreter stops at first error encountered
Examples: C, C++ use compilers; Python, Ruby use interpreters
I applied via Recruitment Consulltant and was interviewed in Aug 2023. There were 3 interview rounds.
MCQ questions on Linux Networking and SQL
posted on 2 Jul 2024
A normal aptitude test
A normal coding interview
posted on 16 May 2022
I applied via LinkedIn and was interviewed before May 2021. There were 2 interview rounds.
It was a hacker rank technical + aptitude test
posted on 7 Nov 2019
I applied via Campus Placement
posted on 23 Apr 2024
posted on 13 Jul 2022
I applied via Company Website and was interviewed before Jul 2021. There were 3 interview rounds.
5 coding questions you have to complete atleast 4
Basic aptitude questions
I applied via Job Fair and was interviewed before Aug 2023. There were 2 interview rounds.
Find two numbers in an array that add up to a specific target value.
Use a hashmap to store the difference between the target value and each element in the array.
Iterate through the array and check if the current element's complement exists in the hashmap.
Return the indices of the two numbers that add up to the target value.
No, a circular loop is not present in a linked list.
A linked list does not have a circular loop by default.
If a linked list has a circular loop, it is considered a circular linked list.
Circular linked lists can be detected using Floyd's Cycle Detection Algorithm.
To identify duplicates in a circular linked list, use a hash set to keep track of visited nodes.
Traverse the circular linked list while adding each node to a hash set.
If a node is already in the hash set, it is a duplicate.
Consider edge cases such as an empty list or a list with only one node.
based on 1 interview
Interview experience
based on 3 reviews
Rating in categories
Relationship Manager
62
salaries
| ₹2.3 L/yr - ₹5.6 L/yr |
Software Engineer
52
salaries
| ₹5 L/yr - ₹17.2 L/yr |
Territory Sales Manager
33
salaries
| ₹3.2 L/yr - ₹6.5 L/yr |
Senior Software Engineer
28
salaries
| ₹13.1 L/yr - ₹37 L/yr |
Associate Software Engineer
21
salaries
| ₹5 L/yr - ₹8 L/yr |
Tech Mahindra
TCS
Infosys
Wipro