Zoho Coding Round L2
- Posted
- 25 Jun 2025
Summary
I successfully completed the Zoho L2 Coding Round, solving four distinct problems including taxi fare calculation, finding the Kth Largest Element, grouping Anagrams, and implementing an LRU Cache, all within a 90-minute timeframe with explanations.
How it went
Problem 1: Calculate fare of taxi with give time, starttime, distance. Very simple logic wise.
Problem 2: Find the Kth Largest Element.
Problem 3: Group Anagrams.
Problem 4: Implement LRU Cache
Simple problems only solved in 90 mins with explanations.
Questions asked (4)
- 01
Calculate Taxi Fare
Data Structures & Algorithms
Calculate the fare of a taxi given the current time, start time, and distance traveled. The problem is described as having very simple logic.
- 02
Find Kth Largest Element
Data Structures & Algorithms · Medium
Find the Kth largest element in an unsorted array.
- 03
Group Anagrams
Data Structures & Algorithms · Medium
Given an array of strings
strs, group the anagrams together. You can return the answer in any order. - 04
Implement LRU Cache
Data Structures & Algorithms · Medium
Design and implement a Least Recently Used (LRU) cache. It should support
getandputoperations.