54 Commits

Author SHA1 Message Date
e4d69f8d9c chore: Merge pull request #776 from raghhavtaneja/raghhavtaneja-patch-1
Create RodCutting.js
2021-10-20 15:16:04 +05:30
67ec915d97 added throwing an error when array with <3 items is passed 2021-10-15 21:49:29 +05:30
b3377bb79c added a link to explanation 2021-10-14 21:14:48 +05:30
41ddee7074 Added Maximum product of 3 numbers in an array 2021-10-14 21:10:34 +05:30
5210273104 resolved style issues in the code 2021-10-12 16:55:56 +05:30
0ae960c4ee added tests for rodCutting and made some changes 2021-10-12 11:06:21 +05:30
0312ee731e Create RodCutting.js 2021-10-11 21:54:41 +05:30
ed49e122a7 tried to fix tests 2021-10-06 15:34:08 +05:30
5a59d1efc0 changes made 2021-10-06 15:02:37 +05:30
3a8e336262 added documentation, js standard style and jest testing to kadane algorithm file. 2021-10-06 14:45:07 +05:30
e27bc0a702 resolved conflicts 2021-10-05 14:05:11 +05:30
1c22f65ce7 fixed the issue in Trie file and typo in sudoku 2021-10-05 12:53:38 +05:30
1589263947 fixed some spellings 2021-10-05 12:49:23 +05:30
199d2637cc Update LongestPalindromicSubsequence.test.js 2021-10-04 17:39:26 +05:30
e0c5d494ae Added space after comma 2021-10-03 21:20:53 +05:30
63ceac0925 Added test cases for TrappingRainWater 2021-10-03 21:13:08 +05:30
db3caea70f Added test cases for LongestValidParentheses 2021-10-03 20:58:53 +05:30
acd670bb2e Added test cases for LongestPalindromicSubsequence 2021-10-03 20:38:23 +05:30
9cf1e55859 Added the tests for coinChangeMin function 2021-08-15 15:35:35 +05:30
2ee9eb965b Added 2 Base tests and 5 main tests for CoinChange Problem. Refactored the code and removed the Memoized approach as it was not necessary 2021-08-13 12:58:55 +05:30
43e9ebc702 Added 2 Base tests and 5 main tests for CoinChange Problem. Refactored the code and removed the Memoized approach as it was not necessary 2021-08-13 12:56:42 +05:30
fa1524498b Added 2 Base tests and 5 main tests for CoinChange Problem. Refactored the code and removed the Memoized approach as it was not necessary 2021-08-13 12:53:34 +05:30
46a2aeb7cf Fixed the syntactical bug 2021-08-11 20:34:45 +05:30
80b2aa5a62 Added the recursive-memoized approach for coin change combination problem 2021-08-11 20:24:25 +05:30
74a3be8f1d Merge pull request #609 from raklaptudirm/master
Fix entire codebase
2021-05-23 09:06:56 +02:00
4f348ccb5b Formatted with standard 2021-05-21 16:47:22 +01:00
f1769c4df6 feat(ZeroOneKnapsack.js): Fixed bad code 2021-05-21 11:27:48 +05:30
9268922980 Added shuf 2021-05-20 15:28:25 +01:00
f7819edae0 chore: split conditionals
Split block of conditionals in separate lines to improve readability
2021-02-07 08:44:05 +05:30
0b66f6732f Removed unnecessary else 2021-02-06 16:17:14 +05:30
9c3c492513 Filename update to UpperCamelCase 2021-01-23 16:24:30 +05:30
a1f69b03b2 Style fix (Standard js) 2021-01-23 16:19:55 +05:30
0f703a59b1 Added Month calendar finder
Added a dynamic programming algorithm to print out a Month's calendar.
2021-01-22 17:10:37 +05:30
fda1aa472a Update ClimbingStairs.js 2021-01-10 22:34:35 -06:00
902b1dfe35 Update MinimumCostPath.js 2020-12-20 20:08:30 +05:30
adf4b14df4 Added Longest Valid Parentheses Algorithm 2020-10-29 13:39:28 +05:30
d70595e236 Merge branch 'master' into add-trapping-water 2020-10-27 13:07:25 -04:00
826d75b61b complete trapping rain water 2020-10-27 12:59:11 -04:00
bb891df640 Added: Sodoko Solver In DP (#420)
* Added: Sodoko Solver In DP

* added: space remove

* Chnage code accoding to npm standards.

* Change

* Update: All Issue Fix

* Update SudokuSolver.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-10-12 13:34:41 +05:30
4c0ca3c37c Fixes Standard 2020-10-10 18:43:35 +05:30
44afa530c1 Added Longest Plaindromic subsequence 2020-10-10 18:38:30 +05:30
bd115f4de0 Merge pull request #446 from suhailmalik07/Minimum-Cost-Path-Algorithm
Added Minimum Cost Path Algorithm
2020-10-10 16:58:52 +05:30
b391751d12 Added Minimum Cost Path Algorithm 2020-10-10 16:50:25 +05:30
d87233cd1e Create FibonacciNumber.js (#378)
* Create FibonacciNumber.js

* Update FibonacciNumber.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-10-05 23:43:03 +05:30
c9169dc16f 0 1 knapsack (#408)
* Added Longest Common Subsequence

* Renamed the File

* Optimized the code

* Optimized the code

* Changed some styles as per the rule

* Again some style fixed

* Added Longest Increasing Subsequence program to the list

* Style changed

* Added 0-1-Knapsack Problem

* Style Changed as per guidelines

* Update ZeroOneKnapsack.js

* Delete LongestCommonSubsequence.js

* Delete LongestIncreasingSubsequence.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-10-04 23:03:48 +05:30
98f2276e08 Added Edit Distance Algorithm in Dynamic-Programming (#402)
* DP Edit Distance Algorithm

* Update EditDistance.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-10-04 22:57:44 +05:30
6275b709d7 Create ClimbingStairs.js (#379)
* Create ClimbingStairs.js

* Update ClimbingStairs.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-10-04 19:44:58 +05:30
9934128461 Lis (#396)
* Added Longest Common Subsequence

* Renamed the File

* Optimized the code

* Optimized the code

* Changed some styles as per the rule

* Again some style fixed

* Added Longest Increasing Subsequence program to the list

* Style changed
2020-10-04 19:32:08 +05:30
4b76b49dbe Added CoinChange Algorithm (#260)
* Added CoinChange Algorithm

* Minor Changes

* Minor Changes

* Minor Changes
2020-08-19 23:51:02 +05:30
d7926369dd Added Levenshtein Distance Algorithm (#263) 2020-08-19 23:48:57 +05:30