Zoho Coding Round L2
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.
Full Experience
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.
Interview Questions (4)
Calculate Taxi Fare
Calculate the fare of a taxi given the current time, start time, and distance traveled. The problem is described as having very simple logic.
Find Kth Largest Element
Find the Kth largest element in an unsorted array.
Group Anagrams
Given an array of strings strs, group the anagrams together. You can return the answer in any order.
Implement LRU Cache
Design and implement a Least Recently Used (LRU) cache. It should support get and put operations.