Skip to content

Ahsanul-Ameen/Design_Problems_leetcode

Repository files navigation

Design_Problems_leetcode in C++

  1. LRU cache implemented in C++, fast enough
  2. LFU cache implemented in C++, unoptimized, no memory leak
  3. Design In Memory File System, efficient, not tested against all test cases
  4. Design Compressed String Iterator, efficient, not tested as locked
    443. String Compression(reverse task) code:

Well, Do not fear recursion( better call it backtracking ). Because of this cheat_sheet