9 Commits

Author SHA1 Message Date
6656ece534 merge: Improved Memoize function (#912)
* feat: improved memoize function

used Map instead of object & used the JSON.stringfy method for generate a valid string as a key

* docs: modified documentation

* style: format with standard

* docs: modified stringify doc

* refactor: remove two repetition implementation
2022-03-02 14:26:16 +05:30
8b1a4b90f6 merge: fix #844 (#846)
* fix #844

* formatted code according to standard.js
2021-11-25 12:33:10 +05:30
ab7e51909a LFUCache/LRUCache : convert live code example to Jest test. 2021-10-09 18:01:42 +02:00
0589fc19e0 Added comments about memoization 2021-10-05 10:37:14 +02:00
8bce33d265 Moving '__tests__' To 'test' 2021-10-05 08:50:12 +02:00
c8fd5353ba Updating Memoize Unit Test 2021-10-04 14:15:21 +02:00
028e098b63 Feat: Added Memoize Func 2021-10-04 13:40:17 +02:00
7822e8a235 Added LFU Cache (#221)
* Added LFU Cache

* Added explaination for the algo

* Fixed Typo
2020-07-07 12:38:18 +05:30
e646b45460 Added LRU Cache (#219) 2020-07-02 16:06:02 +05:30