Quick Overview

This question evaluates competency in data-structure design, pointer and memory management, and hashing-based eviction policies by combining a deep-copy of a linked list with random pointers and an LRU cache requiring O(1) operations, and it belongs to the Coding & Algorithms domain.

Implement LRU cache and copy random list

Company: Meta

Role: Machine Learning Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Onsite

Quick Answer: This question evaluates competency in data-structure design, pointer and memory management, and hashing-based eviction policies by combining a deep-copy of a linked list with random pointers and an LRU cache requiring O(1) operations, and it belongs to the Coding & Algorithms domain.

Loading…