HarshCasper / NeoAlgo

Bringing all Data Structures and Algorithms under one Roof ⚡
MIT License
875 stars 1.05k forks source link

corrected the output for the example test case. #7539

Closed KmrAnish04 closed 2 years ago

KmrAnish04 commented 3 years ago

Have you read the Contributing Guidelines on Pull Requests?

(Write your answer here.)

Yes

Description

(Write your answer here.)

Checklist

Related Issues or Pull Requests

(Write your answer here.)

Corrected the output for the example test case given in below in the solution file.

The previously written test case in the file was: / Input : 6 5 3 4 9 7 6 Output : 6 5 3 4 9 7 6 Time Complexity : O(nlogn) Space Complexity : O(n) /

Changes done: /** Input : 6 5 3 4 9 7 6 Output : 5 3 6 4 7 9

Time Complexity : O(nlogn) Space Complexity : O(n) **/

Explanation: Test case: According to the algorithm written in the file, for the test case: 6 5 3 4 9 7 6

The correct output is: 5 3 6 4 7 9

github-actions[bot] commented 2 years ago

Please reopen this pull request once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to seek help from our Discord or ping one of the reviewers. Thank you for your contributions!