whoashish's cp notes

Home

❯

22. Randomized Algorithms

22. Randomized Algorithms

Oct 08, 20261 min read

  • i. Randomized Algorithms: Las Vegas vs Monte Carlo, error amplification, shuffling and anti-hack seeding, Chernoff and backwards analysis, derandomization.
  • ii. Heuristic Optimization: hill climbing, simulated annealing, iterated local search, neighbourhoods and the contest checklist, 2-opt for TSP.
  • iii. Randomized Hashing and Verification: set and Zobrist hashing, subarray multiset tests, Freivalds, Schwartz–Zippel, anti-hash attacks.
  • iv. Sampling and Streaming: reservoir sampling (R, L, weighted), Floyd’s sampler, Misra–Gries, Count–Min, Bloom filters, HyperLogLog.
  • v. Randomized Search: Color Coding and Random Walks: k-paths by color coding, random-walk 2-SAT and Schöning’s 3-SAT.

5 items under this folder.

  • Oct 08, 2026

    i. Randomized Algorithms

    • randomized
  • Oct 08, 2026

    ii. Heuristic Optimization

    • randomized
  • Oct 08, 2026

    iii. Randomized Hashing and Verification

    • randomized
    • hashing
  • Oct 08, 2026

    iv. Sampling and Streaming

    • randomized
    • streaming
  • Oct 08, 2026

    v. Randomized Search: Color Coding and Random Walks

    • randomized