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
Accelerator
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
Type
/
to 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 }}
Deepak6o
/
Leetcode_Array
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
8
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
67 Commits
67 Commits
3 Sum.cpp
3 Sum.cpp
4 Sum.cpp
4 Sum.cpp
560. Subarray Sum Equals K.cpp
560. Subarray Sum Equals K.cpp
Add digit.cpp
Add digit.cpp
Best Time to Buy and Sell Stock.cpp
Best Time to Buy and Sell Stock.cpp
Candy.cpp
Candy.cpp
Chocolate Distribution Problem.cpp
Chocolate Distribution Problem.cpp
Chocolate distribution Problem.cpp
Chocolate distribution Problem.cpp
Container with Most Water.cpp
Container with Most Water.cpp
Contains Duplicate.cpp
Contains Duplicate.cpp
Count the triplets.cpp
Count the triplets.cpp
Equilibrium Point.cpp
Equilibrium Point.cpp
Find Missing And Repeating.cpp
Find Missing And Repeating.cpp
Find Peak Element.cpp
Find Peak Element.cpp
Find all duplicates in an array.cpp
Find all duplicates in an array.cpp
Find the differnce of two arrays.cpp
Find the differnce of two arrays.cpp
First Missing Positive.cpp
First Missing Positive.cpp
H-Index 1 and H-index 2.cpp
H-Index 1 and H-index 2.cpp
Happy Number.cpp
Happy Number.cpp
K-th element of two sorted Arrays.cpp
K-th element of two sorted Arrays.cpp
Kth Largest Element in Array .cpp
Kth Largest Element in Array .cpp
Largest Number formed from an Array.cpp
Largest Number formed from an Array.cpp
Largest Subarray with 0 Sum.cpp
Largest Subarray with 0 Sum.cpp
Left and Right Sum Differences.cpp
Left and Right Sum Differences.cpp
Longest Consecutive Sequence
Longest Consecutive Sequence
Longest Subarray With Zero Sum.cpp
Longest Subarray With Zero Sum.cpp
Majority Element II.cpp
Majority Element II.cpp
Majority Element.cpp
Majority Element.cpp
Max Min.cpp
Max Min.cpp
Maximum Product Subarray
Maximum Product Subarray
Maximum Subarray.cpp
Maximum Subarray.cpp
Merge All Overlapping Intervals.cpp
Merge All Overlapping Intervals.cpp
Merge two sorted array without using extra space.cpp
Merge two sorted array without using extra space.cpp
Minimum Array.cpp
Minimum Array.cpp
Move all Zeros to the end.cpp
Move all Zeros to the end.cpp
Next Permutation.cpp
Next Permutation.cpp
Number of Inversions.cpp
Number of Inversions.cpp
Number of pairs.cpp
Number of pairs.cpp
Pair with given sum.cpp
Pair with given sum.cpp
Pascle Triangle.cpp
Pascle Triangle.cpp
Product of Array Except Self.cpp
Product of Array Except Self.cpp
Pythagorean Triplet.cpp
Pythagorean Triplet.cpp
README.md
README.md
Rearrange an array with O(1) extra space.cpp
Rearrange an array with O(1) extra space.cpp
Rearrange the array alternatively.cpp
Rearrange the array alternatively.cpp
Remove Duplicates from sorted array II.cpp
Remove Duplicates from sorted array II.cpp
Remove Element.cpp
Remove Element.cpp
Remove array from sorted array.cpp
Remove array from sorted array.cpp
Replace Elements with Greatest Element on Right Side.cpp
Replace Elements with Greatest Element on Right Side.cpp
Reverse Pairs.cpp
Reverse Pairs.cpp
Reverse a String.cpp
Reverse a String.cpp
Rotate array.cpp
Rotate array.cpp
Search in sorted rotated array.cpp
Search in sorted rotated array.cpp
Search insert postion.cpp
Search insert postion.cpp
Seating Arrangement.cpp
Seating Arrangement.cpp
Sign of the Product of an Array.cpp
Sign of the Product of an Array.cpp
Single Number II .cpp
Single Number II .cpp
Single Number III .cpp
Single Number III .cpp
Sort an array of 0s, 1s and 2s.cpp
Sort an array of 0s, 1s and 2s.cpp
Subarray with given sum.cpp
Subarray with given sum.cpp
Subarrays with XOR ‘K’.cpp
Subarrays with XOR ‘K’.cpp
Trapping Rain Water.cpp
Trapping Rain Water.cpp
Two Sum II - Input Array Is Sorted.cpp
Two Sum II - Input Array Is Sorted.cpp
Uncrossed Lines.cpp
Uncrossed Lines.cpp
Valid Palindrome.cpp
Valid Palindrome.cpp
next Permutation.cpp
next Permutation.cpp
View all files
Repository files navigation
README
More
items
Leetcode_Array
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
8
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.