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
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
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
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.