Skip to content

'Fixes #2957' #3044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 63 commits into from
May 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
38daad8
Fixes: #{2391}
siddhant2002 Dec 5, 2021
a417229
Fixes #(2391)
siddhant2002 Dec 7, 2021
4cd2497
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Dec 8, 2021
e3c28dc
Delete String_Comparision.java
siriak Dec 9, 2021
0e97ad8
Merge branch 'master' into master
siriak Dec 9, 2021
f27eff4
Fixes: #{2820}
siddhant2002 Dec 14, 2021
bdc2a8a
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Dec 14, 2021
9e77af5
Fixes #{2820}
siddhant2002 Dec 14, 2021
3cacb76
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 Dec 14, 2021
a192de6
Fixes(#2450)
siddhant2002 Dec 20, 2021
516c7b9
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Dec 20, 2021
10e58e3
string Codes removed
siddhant2002 Dec 21, 2021
c62aea7
Merge branch 'master' into master
siddhant2002 Dec 22, 2021
d24fdf2
fixes(#2882)
siddhant2002 Dec 22, 2021
30615b3
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 Dec 22, 2021
20261bf
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Jan 18, 2022
f9fc81e
Fixes(2882)
siddhant2002 Jan 19, 2022
86b0102
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 Jan 19, 2022
f5a0937
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Jan 20, 2022
a214d7f
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Jan 22, 2022
e136a3b
Fixes(#2877)
siddhant2002 Jan 22, 2022
e5541ed
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 Jan 22, 2022
6220cee
Fixes(#2877)
siddhant2002 Feb 11, 2022
ab73827
Fixes(#2877)
siddhant2002 Feb 12, 2022
17009fc
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Feb 12, 2022
f903458
Fixes(#2877)
siddhant2002 Feb 12, 2022
2467c8c
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 Feb 12, 2022
ababfa4
Fixes(#2877)
siddhant2002 Feb 13, 2022
255e4df
Fixes(#2877)
siddhant2002 Feb 13, 2022
a404bdc
Fixes(#2873)
siddhant2002 Feb 16, 2022
fd6dd28
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Feb 16, 2022
ddad2bd
Merge branch 'master' into master
siriak Feb 19, 2022
6902ee7
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Feb 19, 2022
3b541ff
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Feb 21, 2022
484d122
Fixes(#2884)
siddhant2002 Feb 22, 2022
08819aa
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 Feb 22, 2022
26ac95e
Fixes(#2884)
siddhant2002 Feb 22, 2022
5ceffa0
Fixes(#2884)
siddhant2002 Feb 22, 2022
e0c8cc9
Fixes(#2884)
siddhant2002 Feb 22, 2022
31826c0
Fixes(#2884)
siddhant2002 Feb 25, 2022
4b198ea
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Feb 26, 2022
5d1b736
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Mar 14, 2022
8f543e5
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Mar 19, 2022
aa666e3
Merge branch 'TheAlgorithms:master' into master
siddhant2002 Mar 26, 2022
972cf29
Fixes(#2889)
siddhant2002 Mar 26, 2022
cb5eb19
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 Mar 26, 2022
11575fc
Fixes (#2889)
siddhant2002 Mar 26, 2022
2719938
Fixes(#2889)
siddhant2002 Mar 30, 2022
c26e672
Fixes(#2889)
siddhant2002 Mar 30, 2022
f04d318
Merge branch 'master' into master
siddhant2002 Mar 30, 2022
5bb853b
Fixes(#2889)
siddhant2002 Mar 31, 2022
d406f90
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 Mar 31, 2022
ecee9f4
Fixes(#2889)
siddhant2002 Mar 31, 2022
d69880e
Fixes(#2889)
siddhant2002 Mar 31, 2022
3609dcb
Merge branch 'master' into master
siriak Apr 6, 2022
72e750d
Fixes (#2957)
siddhant2002 May 4, 2022
d0b0b71
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 May 4, 2022
13aa7fa
Fixes (#2957)
siddhant2002 May 4, 2022
6becf81
Merge branch 'TheAlgorithms:master' into master
siddhant2002 May 5, 2022
156cbdc
Fixes ('2957)
siddhant2002 May 8, 2022
6b0a0f5
Merge branch 'master' of https://github.com/siddhant2002/Java
siddhant2002 May 8, 2022
9418ff2
Fixes(2957)
siddhant2002 May 8, 2022
2096ff0
Merge branch 'master' into master
siriak May 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes(#2877)
  • Loading branch information
siddhant2002 committed Feb 13, 2022
commit 255e4df7894d42f3765f6868bff05a801b7ba5ff
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@ void testForFiveElements()
void testForSixElements()
{
int a[]={-43,-45,47,12,87,-13};
assertTrue(KadaneAlgorithm.max_Sum(a,10));
assertTrue(KadaneAlgorithm.max_Sum(a,146));
}

@Test
void testForSevenElements()
{
int a[]={9,8,2,23,13,6,7};
assertTrue(KadaneAlgorithm.max_Sum(a,146));
assertTrue(KadaneAlgorithm.max_Sum(a,68));
}

@Test
void testForEightElements()
{
int a[]={9,-5,-5,-2,4,5,0,1};
assertTrue(KadaneAlgorithm.max_Sum(a,68));
assertTrue(KadaneAlgorithm.max_Sum(a,10));
}
}