-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Added new algorithm/problem in Array-DS #1846
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
Open
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rnema19
rnema19
requested review from
appgurueu and
raklaptudirm
as code owners
October 22, 2025 10:52
codecov-commenter
commented
Oct 22, 2025
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## master #1846 +/- ## ========================================== + Coverage 85.91% 85.93% +0.01% ========================================== Files 379 380 +1 Lines 19778 19803 +25 Branches 3015 3021 +6 ========================================== + Hits 16993 17017 +24 - Misses 2785 2786 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Open in Gitpod know more
Describe your change:
Checklist:
Example:
UserProfile.jsis allowed butuserprofile.js,Userprofile.js,user-Profile.js,userProfile.jsare notFixes: #{$ISSUE_NO}.I have added a new algorithm/problem which is quite common and asked in interviews.
Single element problem, as people find it unique to implement in Javascript this problem needs to practiced.
It's easier to implement this problem in other languages. I have added a basic solution, optimal solutions are given in the problem description.
All tests were successful.