Skip to content

Commit c21ee61

Browse files
committed
Removed LRU Cache: not the best implementation
1 parent 696420a commit c21ee61

File tree

3 files changed

+1
-59
lines changed

3 files changed

+1
-59
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ Minimal and clean example implementations of data structures and algorithms in P
4545
- [single_number](bit/single_number.py)
4646
- [subsets](bit/subsets.py)
4747
- [add_without_operator](bit/add_without_operator.py)
48-
- [cache](cache)
49-
- [lru_cache](cache/lru_cache.py)
5048
- [calculator](calculator)
5149
- [math_parser](calculator/math_parser.py)
5250
- [dfs](dfs)

cache/lru_cache.py

Lines changed: 0 additions & 56 deletions
This file was deleted.

math/nth_digit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ def find_nth_digit(n):
1717
start *= 10
1818
start += (n-1) / len
1919
s = str(start)
20-
return int(s[(n-1) % len])
20+
return int(s[(n-1) % len])

0 commit comments

Comments
 (0)