Java-aid / Hackerrank-Solutions

hackerrank solutions github | hackerrank all solutions | hackerrank solutions for java | hackerrank video tutorial | hackerrank cracking the coding interview solutions | hackerrank data structures | hackerrank solutions algorithms | hackerrank challenge | hackerrank coding challenge | hackerrank algorithms solutions github| hackerrank problem solving | hackerrank programs solutions | JAVAAID |all hackerrank solutions | Coding Interview Preparation
https://www.youtube.com/c/JavaAidTutorials?sub_confirmation=1
MIT License
1.75k stars 867 forks source link

Semantic Error on line 58 #9

Closed akhildhiman7 closed 4 years ago

akhildhiman7 commented 5 years ago

In line 58 while checking if s2totalHeight is maximum, it is comparing it's value with s3totalHeight and again with s3totalHeight. It should check with s1totalHeight and s3totalHeight.

kanahaiya commented 5 years ago

Hello,

May I know the file name or problem name. I do not remember, which program you are talking about?

akhildhiman7 commented 5 years ago

The problem name is Equal Stacks and it's in the Data Structures section.

kanahaiya commented 4 years ago

Thanks @akhildhiman7 for pointing the mistake. I have updated the source code accordingly and committed on git. please let us know, if your query has been resolved, will close this issue.

kanahaiya commented 4 years ago

Did not receive any further update, so closing this issue.