7 Commits

Author SHA1 Message Date
81c771b901 merge: Improved LRUCache (#953)
* feat: added new validation test casses & methods

* style: formated with standard

* feat: added parse method & test cases

* docs: added js docs

* chore: added default import export
2022-03-27 12:07:54 +05:30
d246958a4d merge: Added explicit cache feature & optional parameter (#941) 2022-03-22 14:36:21 +05:30
ad68c63947 merge: Added new clean LFUCache class (#939)
* feat: added new clean LFUCache class

* fixed: resolved spell mistake & added test casses
2022-03-21 22:13:45 +05:30
9f7ed56290 merge: Remove duplicate helper functions in cache tests. (#933)
* refactor: added one implementation of fibonacciCahce

* chore: move union function

* chore: renamed the cacheTest file
2022-03-20 13:06:13 +05:30
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
ab7e51909a LFUCache/LRUCache : convert live code example to Jest test. 2021-10-09 18:01:42 +02:00
8bce33d265 Moving '__tests__' To 'test' 2021-10-05 08:50:12 +02:00