PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Coding & Algorithms/Anthropic

Implement crawler, dedup, and persistent LRU

Last updated: Mar 29, 2026

Quick Overview

This question evaluates skills in web crawling and graph traversal, content-based duplicate detection and filesystem parsing using hashing, and cache design including LRU eviction, handling variable function arguments, and serialization for persistence.

  • Medium
  • Anthropic
  • Coding & Algorithms
  • Software Engineer

Implement crawler, dedup, and persistent LRU

Company: Anthropic

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: Medium

Interview Round: Onsite

##### Question LeetCode 1236. Web Crawler: Crawl web pages starting from a given URL within the same hostname. LeetCode 609. Find Duplicate File in System: Identify duplicate files in a filesystem based on content. LeetCode 146. LRU Cache (extended): Implement an LRU cache decorator that correctly handles variable-length positional and keyword arguments, and add persistence (serialization/deserialization) support. https://leetcode.com/problems/web-crawler/description/ https://leetcode.com/problems/find-duplicate-file-in-system/description/ https://leetcode.com/problems/lru-cache/description/

Quick Answer: This question evaluates skills in web crawling and graph traversal, content-based duplicate detection and filesystem parsing using hashing, and cache design including LRU eviction, handling variable function arguments, and serialization for persistence.

Related Interview Questions

  • Convert Samples into Event Intervals - Anthropic (medium)
  • Convert State Stream to Events - Anthropic (medium)
  • Build a concurrent web crawler - Anthropic (medium)
  • Implement a Parallel Image Processor - Anthropic (medium)
  • Implement a Batch Image Processor - Anthropic (medium)
Anthropic logo
Anthropic
Aug 4, 2025, 10:55 AM
Software Engineer
Onsite
Coding & Algorithms
60
0
Question

LeetCode 1236. Web Crawler: Crawl web pages starting from a given URL within the same hostname.

LeetCode 609. Find Duplicate File in System: Identify duplicate files in a filesystem based on content.

LeetCode 146. LRU Cache (extended): Implement an LRU cache decorator that correctly handles variable-length positional and keyword arguments, and add persistence (serialization/deserialization) support.

https://leetcode.com/problems/web-crawler/description/ https://leetcode.com/problems/find-duplicate-file-in-system/description/ https://leetcode.com/problems/lru-cache/description/

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Anthropic•More Software Engineer•Anthropic Software Engineer•Anthropic Coding & Algorithms•Software Engineer Coding & Algorithms
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.