i
Zeta
Filter interviews by
Reverse a linked list by changing the direction of pointers
Start with three pointers: prev, current, next
Iterate through the list, updating pointers to reverse the direction
Update the head of the list to be the last node
Implementing an LRU Cache using a combination of a hashmap and a doubly linked list.
Use a hashmap for O(1) access to cache items.
Use a doubly linked list to maintain the order of usage.
When accessing an item, move it to the front of the list.
If the cache exceeds its capacity, remove the least recently used item from both the hashmap and the list.
Example: For a cache of capacity 2, accessing keys 1, 2, then 1 again shou...
Top trending discussions
posted on 19 Oct 2021
I applied via Naukri.com and was interviewed before Oct 2020. There were 3 interview rounds.
I will use a combination of messaging systems, data replication, and versioning to ensure consistency and availability.
Use messaging systems like Kafka or RabbitMQ to ensure reliable communication between systems
Implement data replication to ensure that data is available on multiple nodes
Use versioning to ensure that all nodes are working with the same data
Implement conflict resolution strategies to handle conflicts th...
I applied via Approached by Company and was interviewed before May 2021. There were 4 interview rounds.
I applied via Referral
An algorithm to check conditions or criteria systematically for validation or verification.
Define the criteria to check (e.g., if a number is even).
Iterate through the data set (e.g., an array of numbers).
Apply the condition to each element (e.g., check if each number % 2 == 0).
Store results (e.g., true/false for each check).
Return or display the results.
Approximately 150-200 million mobile phones are sold each year in India.
India is the second-largest smartphone market in the world after China.
The number of mobile phone users in India is expected to reach 1.25 billion by 2020.
The Indian smartphone market grew by 7% YoY in 2019.
Major players in the Indian smartphone market include Xiaomi, Samsung, and Vivo.
It is not possible to accurately determine the number of tube lights in the city of Mumbai.
The number of tube lights in a city is not publicly available information.
The city of Mumbai has a large population and a vast number of buildings, making it impossible to count all the tube lights.
The number of tube lights can vary greatly depending on factors such as residential, commercial, and industrial areas.
Even if we cons...
posted on 9 Mar 2022
I applied via Naukri.com and was interviewed before Mar 2021. There were 3 interview rounds.
posted on 25 Aug 2022
I applied via Campus Placement and was interviewed before Aug 2021. There were 4 interview rounds.
Duration: 1hr
Topics: Array, LinkedList,Stack
I applied via Job Portal and was interviewed in Apr 2021. There was 1 interview round.
I applied via Job Portal and was interviewed in Apr 2021. There was 1 interview round.
I applied via Campus Placement and was interviewed before Oct 2020. There were 4 interview rounds.
posted on 5 Oct 2023
I applied via Referral and was interviewed before Oct 2022. There were 3 interview rounds.
Simple coding questions in your preferred language
based on 1 interview experience
Software Development Engineer II
93
salaries
| ₹28 L/yr - ₹45.4 L/yr |
Senior Software Engineer
58
salaries
| ₹33 L/yr - ₹60 L/yr |
Software Developer
57
salaries
| ₹17.8 L/yr - ₹26 L/yr |
Program Manager
50
salaries
| ₹24 L/yr - ₹42 L/yr |
Product Manager
48
salaries
| ₹32 L/yr - ₹45 L/yr |
Paytm
Fractal Analytics
Kiya.ai
MathCo