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
Team
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 }}
Anmoldube
GeeksForGeeks
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
GeeksForGeeks
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
118 Commits
118 Commits
Folders and files
Name
Name
Last commit message
Last commit date
C++ Input
C++ Input
Addition of Two Numbers
Addition of Two Numbers
Armstrong NumberS
Armstrong NumberS
Arranging the array
Arranging the array
Binary representation
Binary representation
C++ 2-D Arrays | Set-1
C++ 2-D Arrays | Set-1
C++ Array (print an element) | Set 2
C++ Array (print an element) | Set 2
C++ Data Types
C++ Data Types
C++ Functions (Sum of numbers) | Set 1
C++ Functions (Sum of numbers) | Set 1
C++ Operators (Relational) | Set 2
C++ Operators (Relational) | Set 2
C++ Operators | Set 1 (Arithmetic)
C++ Operators | Set 1 (Arithmetic)
C++ Strings
C++ Strings
C++ Switch Case Statement
C++ Switch Case Statement
C++ if-else (Decision Making)
C++ if-else (Decision Making)
Check String
Check String
Check for Binary
Check for Binary
Chocolate Distribution Problem
Chocolate Distribution Problem
Common elements
Common elements
Convert String to LowerCase
Convert String to LowerCase
Count Inversions
Count Inversions
Count of camel case characters
Count of camel case characters
Count of smaller elements
Count of smaller elements
Count pairs with given sum
Count pairs with given sum
Count type of Characters
Count type of Characters
Cyclically rotate an array by one
Cyclically rotate an array by one
Delete alternate characters
Delete alternate characters
Display longest name
Display longest name
Even Odd Sum
Even Odd Sum
Fascinating Number
Fascinating Number
Find the median
Find the median
GCD of any no. using recursion
GCD of any no. using recursion
GCD of two numbers
GCD of two numbers
Greatest of three numbers
Greatest of three numbers
Java Basic Data Types
Java Basic Data Types
Java Strings | Set 1
Java Strings | Set 1
Java Substring
Java Substring
Java Switch Case statement
Java Switch Case statement
Kadane's Algorithm
Kadane's Algorithm
Kth smallest element
Kth smallest element
Longest consecutive subsequence
Longest consecutive subsequence
Lower case to upper case
Lower case to upper case
Max Min
Max Min
Maximum Product Subarray
Maximum Product Subarray
Maximum profit by buying and selling a share at most twice
Maximum profit by buying and selling a share at most twice
Mean
Mean
Median of 2 Sorted Arrays of Different Sizes
Median of 2 Sorted Arrays of Different Sizes
Minimize the Heights II
Minimize the Heights II
Minimum number of jumps
Minimum number of jumps
Multiplication Table
Multiplication Table
Number of divisors
Number of divisors
Odd or Even
Odd or Even
Palindrome
Palindrome
Palindromic Array
Palindromic Array
Palindromic Array easyone my ap
Palindromic Array easyone my ap
Party of Couples
Party of Couples
Pattern Printing
Pattern Printing
Perfect Arrays
Perfect Arrays
Power of Pow | Even Number
Power of Pow | Even Number
Power of Pow | Odd Numbers
Power of Pow | Odd Numbers
Print Elements of Array
Print Elements of Array
Print the pattern | Set-1 SchoolAccuracy: 25.17%Submissions: 115K+Points: 0 15K students have upskilled themselves with our courses over the summer. Don't get left behind! Save extra 30% by enrolling today You are given a number N. You need to print the pattern for the given value of N. For N = 2 the pattern will be 2 2 1 1 2 1 For N = 3 the pattern will be 3 3 3 2 2 2 1 1 1 3 3 2 2 1 1 3 2 1
Print the pattern | Set-1 SchoolAccuracy: 25.17%Submissions: 115K+Points: 0 15K students have upskilled themselves with our courses over the summer. Don't get left behind! Save extra 30% by enrolling today You are given a number N. You need to print the pattern for the given value of N. For N = 2 the pattern will be 2 2 1 1 2 1 For N = 3 the pattern will be 3 3 3 2 2 2 1 1 1 3 3 2 2 1 1 3 2 1
README.md
README.md
Rearrange array in alternating positive & negative items with O(1) extra space | Set 1
Rearrange array in alternating positive & negative items with O(1) extra space | Set 1
Remainder Evaluation
Remainder Evaluation
Remove Spaces
Remove Spaces
Remove vowels from string
Remove vowels from string
Replace all 0's with 5
Replace all 0's with 5
Reverse a String
Reverse a String
Reverse digits
Reverse digits
Reversing the vowels
Reversing the vowels
Series AP
Series AP
Simple Interest
Simple Interest
Smaller and Larger
Smaller and Larger
Smallest subarray with sum greater than x
Smallest subarray with sum greater than x
Sort an array of 0s, 1s and 2s
Sort an array of 0s, 1s and 2s
Subarray with 0 sum
Subarray with 0 sum
Sum Of Digits
Sum Of Digits
Sum Palindrome
Sum Palindrome
Sum of AP series
Sum of AP series
Sum of Array
Sum of Array
Sum of Digit is Pallindrome or not
Sum of Digit is Pallindrome or not
Sum of elements in a matrix
Sum of elements in a matrix
Sumofdigits
Sumofdigits
Swap kth elements
Swap kth elements
Swap two numbers
Swap two numbers
The dice problem
The dice problem
Three way partitioning
Three way partitioning
Time to Words
Time to Words
Triplet Sum in Array
Triplet Sum in Array
Upper case conversion
Upper case conversion
Value equal to index value
Value equal to index value
Vowel or Not
Vowel or Not
average in stream
average in stream
cheakingsortrecrsion
cheakingsortrecrsion
factorialof n using recursion
factorialof n using recursion
factorials-of-largest no.
factorials-of-largest no.
fibonacci of n using recursion
fibonacci of n using recursion
find index
find index
if-else (Decision Making)
if-else (Decision Making)
input|output in java
input|output in java
View all files
Repository files navigation
README
More
items
GeeksForGeeks
solution of gfg
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
You can’t perform that action at this time.