Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
harshitcompcode
/
data-structures-and-algorithms
Public
forked from
akgmage/data-structures-and-algorithms
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
Javascript-DSA
Breadcrumbs
data-structures-and-algorithms
/
Arrays
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
Javascript-DSA
Breadcrumbs
data-structures-and-algorithms
/
Arrays
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
StriverSheet
StriverSheet
.DS_Store
.DS_Store
2dArray.js
2dArray.js
2dConversion.js
2dConversion.js
3Sum.js
3Sum.js
3SumClosest.js
3SumClosest.js
4sum.js
4sum.js
RemoveDuplicates.java
RemoveDuplicates.java
alternating_subarrays.java
alternating_subarrays.java
androidPattern.js
androidPattern.js
anotherNumberSystem.js
anotherNumberSystem.js
anti_diagonals.java
anti_diagonals.java
arrayOfProducts.js
arrayOfProducts.js
array_of_products.go
array_of_products.go
array_of_products.java
array_of_products.java
avgTime.js
avgTime.js
binarySearch.cpp
binarySearch.cpp
bulbs.go
bulbs.go
ceaser_cipher.go
ceaser_cipher.go
classes.js
classes.js
continousMaxSubArraySum.cpp
continousMaxSubArraySum.cpp
countingSort.js
countingSort.js
counting_subarrays.java
counting_subarrays.java
diagonal_sum.java
diagonal_sum.java
diffPairExist.js
diffPairExist.js
discussion_on_push.js
discussion_on_push.js
dummy.js
dummy.js
eggProblem.js
eggProblem.js
findDifference.js
findDifference.js
findIn2dArray.js
findIn2dArray.js
findPair.js
findPair.js
firstDuplicateValue.js
firstDuplicateValue.js
fourNumberSum.js
fourNumberSum.js
good_subarrays.java
good_subarrays.java
ideaoneinput.js
ideaoneinput.js
input.js
input.js
intersectionOfArrays.js
intersectionOfArrays.js
intersectionofLists.js
intersectionofLists.js
is_pallindrome.go
is_pallindrome.go
largestRange.js
largestRange.js
linearSearch.cpp
linearSearch.cpp
longestPeak.js
longestPeak.js
longest_consecutive_nums_subarray.cpp
longest_consecutive_nums_subarray.cpp
luckyNumber.js
luckyNumber.js
maps.js
maps.js
maxSeriesOf1.js
maxSeriesOf1.js
max_contiguous_sum.go
max_contiguous_sum.go
max_subarray_sum_with_length_k.java
max_subarray_sum_with_length_k.java
mergeOverlappingIntervals.js
mergeOverlappingIntervals.js
mergeSort.cpp
mergeSort.cpp
merge_overlapping_intervals.java
merge_overlapping_intervals.java
minCoins.js
minCoins.js
minDigit.js
minDigit.js
minRewards.js
minRewards.js
min_rewards.java
min_rewards.java
minimum_swaps.java
minimum_swaps.java
missingNumber.js
missingNumber.js
monotonicArray.js
monotonicArray.js
moveElementToEnd.js
moveElementToEnd.js
narcissistic.js
narcissistic.js
nonConstructibleChange.js
nonConstructibleChange.js
non_constructable_change.java
non_constructable_change.java
non_constructible_change.go
non_constructible_change.go
numberOfInversions.cpp
numberOfInversions.cpp
palindrome.js
palindrome.js
permutations.js
permutations.js
platfromJump.js
platfromJump.js
printBinaryWithoutConsecutive1.js.js
printBinaryWithoutConsecutive1.js.js
printWaveForm.js
printWaveForm.js
quickSort.cpp
quickSort.cpp
reduceArray.js
reduceArray.js
removeDuplicates.js
removeDuplicates.js
reverseVowels.js
reverseVowels.js
rotate_matrix_90degrees.java
rotate_matrix_90degrees.java
selectionProcedure.cpp
selectionProcedure.cpp
set_matrix_zeroes.java
set_matrix_zeroes.java
shoePair.js
shoePair.js
simplifyPath.js
simplifyPath.js
smallestDifference.js
smallestDifference.js
smallest_difference.java
smallest_difference.java
somefile.txt
somefile.txt
sort012.js
sort012.js
sortStudents.js
sortStudents.js
sortedSquareArray.js
sortedSquareArray.js
sortedSquaredArray.js
sortedSquaredArray.js
sorted_square_array.go
sorted_square_array.go
specialPositions.js
specialPositions.js
spiralTraverse.cpp
spiralTraverse.cpp
spiralTraverse.js
spiralTraverse.js
spiral_order_2.java
spiral_order_2.java
spiral_traverse.java
spiral_traverse.java
straightMaxMin.cpp
straightMaxMin.cpp
stringStrength.js
stringStrength.js
subarraySort.js
subarraySort.js
subarray_sums.java
subarray_sums.java
subarray_with_given_sum_and_length.java
subarray_with_given_sum_and_length.java
subarray_with_zero_sum.go
subarray_with_zero_sum.go
subsequence.js
subsequence.js
sudoku.js
sudoku.js
tempCodeRunnerFile.cpp
tempCodeRunnerFile.cpp
View all files
You can’t perform that action at this time.