Byte Depth
← All tags

#Hashing

7 articles

High Level Design

Designing a URL Shortener

End-to-end design of a URL shortening service — estimations, API design, 301 vs 302 redirects, hash functions with collision resolution, base62 encoding, and the deep-dive read/write paths.

Aug 10, 2026
System DesignURL ShortenerHashing

DSA

Longest Consecutive Sequence in an Array

Covers: Brute Force, Better, Optimal. Optimal — Time O(n), Space O(n).

Medium·Aug 8, 2026
DSAArraysLeetCode🏢 Amazon

DSA

Longest Consecutive Sequence

Covers: sorting Based, Better, Union Find. Optimal — Time O(n), Space O(n).

Medium·Aug 8, 2026
DSAArraysLeetCode

DSA

Two Sum

Covers: Brute Force, Better, Optimal. Optimal — Time O(n), Space O(n).

Easy·Aug 8, 2026
DSAArraysLeetCode

DSA

Valid Sudoku

Hashing & Sorting problem — solution with code and analysis.

Medium·Aug 8, 2026
DSAHashingSorting

DSA

Two Sum II - Input Array Is Sorted

Two Pointer approach. Optimal — Time O(n), Space O(1).

Medium·Aug 8, 2026
DSALeetCodePractice

DSA

Group Anagrams

Covers: Sorting + Hashing, character counts Based key. Optimal — Time O(n * k), Space O(n * k).

Medium·Aug 8, 2026
DSAHashingSorting🏢 Amazon
© 2026 ByteDepth. All rights reserved.Built with care for curious engineers.