Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
vipul-kumar455
Top-50-array-question-gfg
Repository navigation
Code
Issues
2
(2)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Top-50-array-question-gfg
Public
Notifications
You must be signed in to change notification settings
Fork
2
(
2
)
Star
4
(
4
)
You must be signed in to star a repository
About
Top 50 questions on GFG
Topics
array
binary
binary-search
binarysearch-algorithm
cpp
cpp17
data-structures
greedy-algorithms
hashing
hashmap
Resources
Readme
Activity
Stars
4
stars
Watchers
1
watching
Forks
2
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
36 Commits
36 Commits
Folders and files
Name
Name
Last commit message
Last commit date
Alternate positive and negative numbers.cpp
Alternate positive and negative numbers.cpp
Check if it is possible to survive on Island.cpp
Check if it is possible to survive on Island.cpp
Count smaller element in array.cpp
Count smaller element in array.cpp
Counting elements in two arrays.cpp
Counting elements in two arrays.cpp
Form A palindrome.cpp
Form A palindrome.cpp
Maximum Index.cpp
Maximum Index.cpp
Minimum Swaps to Sort.cpp
Minimum Swaps to Sort.cpp
Minimum platform.cpp
Minimum platform.cpp
N meetings in one room.cpp
N meetings in one room.cpp
Non -repeating element.cpp
Non -repeating element.cpp
Polynomial addition.cpp
Polynomial addition.cpp
README.md
README.md
Shop in Candy Store.cpp
Shop in Candy Store.cpp
Smallest number on left.cpp
Smallest number on left.cpp
Triplet sum in array in cpp
Triplet sum in array in cpp
alternate positive and negative in array .cpp
alternate positive and negative in array .cpp
array subset of another subset in cpp.cpp
array subset of another subset in cpp.cpp
chocolate distribution cpp .cpp
chocolate distribution cpp .cpp
common elements in three array.cpp
common elements in three array.cpp
find the frequency .cpp
find the frequency .cpp
first repeating element.cpp
first repeating element.cpp
implement two stack in array in cpp.cpp
implement two stack in array in cpp.cpp
java1.pdf
java1.pdf
min sum formed by digit .cpp
min sum formed by digit .cpp
move all negative to the end.cpp
move all negative to the end.cpp
peek element.cpp
peek element.cpp
subarray with 0 sum.cpp
subarray with 0 sum.cpp
sum pair closest to xin cpp.cpp
sum pair closest to xin cpp.cpp
wave array.cpp
wave array.cpp
View all files
Repository files navigation
README
More
items
Top-50-array-question-gfg
GeeksForGeeks Top 50 array based questions in cpp
About
Top 50 questions on GFG
Topics
array
binary
binary-search
binarysearch-algorithm
cpp
cpp17
data-structures
greedy-algorithms
hashing
hashmap
Resources
Readme
Activity
Stars
4
stars
Watchers
1
watching
Forks
2
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.