Skip to content

Commit

Permalink
Removed LRU Cache: not the best implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
izanbf1803 committed Sep 13, 2017
1 parent 696420a commit c21ee61
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 59 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ Minimal and clean example implementations of data structures and algorithms in P
- [single_number](bit/single_number.py)
- [subsets](bit/subsets.py)
- [add_without_operator](bit/add_without_operator.py)
- [cache](cache)
- [lru_cache](cache/lru_cache.py)
- [calculator](calculator)
- [math_parser](calculator/math_parser.py)
- [dfs](dfs)
Expand Down
56 changes: 0 additions & 56 deletions cache/lru_cache.py

This file was deleted.

2 changes: 1 addition & 1 deletion math/nth_digit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def find_nth_digit(n):
start *= 10
start += (n-1) / len
s = str(start)
return int(s[(n-1) % len])
return int(s[(n-1) % len])

0 comments on commit c21ee61

Please sign in to comment.