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 }}
knockcat
/
-Geeks-For-Geeks-
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
3
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
Latest commit
History
118 Commits
118 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.gitignore
.gitignore
A difference of values and indexes.cpp
A difference of values and indexes.cpp
Absolute difference divisible by K.cpp
Absolute difference divisible by K.cpp
Additive sequence.cpp
Additive sequence.cpp
Akku and Binary Numbers.cpp
Akku and Binary Numbers.cpp
Alternate positive and negative numbers.cpp
Alternate positive and negative numbers.cpp
Apple Sequences.cpp
Apple Sequences.cpp
Arithmetic Number.cpp
Arithmetic Number.cpp
Array Operations.cpp
Array Operations.cpp
Asteroid Collision.cpp
Asteroid Collision.cpp
BST Downward Traversal.cpp
BST Downward Traversal.cpp
Balloon Everywhere.cpp
Balloon Everywhere.cpp
Binary Tree to DLL.cpp
Binary Tree to DLL.cpp
Boolean Parenthesization.cpp
Boolean Parenthesization.cpp
Burst Balloons.cpp
Burst Balloons.cpp
Carpet into Box.cpp
Carpet into Box.cpp
Case-specific Sorting of Strings.cpp
Case-specific Sorting of Strings.cpp
Check if frequencies can be equal.cpp
Check if frequencies can be equal.cpp
City With the Smallest Number of Neighbors at a Threshold Distance.cpp
City With the Smallest Number of Neighbors at a Threshold Distance.cpp
Closest Neighbour in BST.cpp
Closest Neighbour in BST.cpp
Connect Nodes at Same Level.cpp
Connect Nodes at Same Level.cpp
Container With Most Water.cpp
Container With Most Water.cpp
Convert an array to reduced form.cpp
Convert an array to reduced form.cpp
Count Lucky Permutations.cpp
Count Lucky Permutations.cpp
Count Palindromic Subsequences.cpp
Count Palindromic Subsequences.cpp
Count even length.cpp
Count even length.cpp
Count number of free cell.cpp
Count number of free cell.cpp
Count pairs Sum in matrices.cpp
Count pairs Sum in matrices.cpp
Count the Substring.cpp
Count the Substring.cpp
Count ways to N'th Stair.cpp
Count ways to N'th Stair.cpp
Diagonal sum in binary tree.cpp
Diagonal sum in binary tree.cpp
Distance of nearest cell having 1.cpp
Distance of nearest cell having 1.cpp
Distinct Coloring.cpp
Distinct Coloring.cpp
Divide in Incremental Groups.cpp
Divide in Incremental Groups.cpp
Euler Circuit in an Undirected Graph.cpp
Euler Circuit in an Undirected Graph.cpp
Even Swap.cpp
Even Swap.cpp
Find minimum number of Laptops required.cpp
Find minimum number of Laptops required.cpp
Find shortest safe route in a matrix.cpp
Find shortest safe route in a matrix.cpp
Find the N-th character.cpp
Find the N-th character.cpp
Find the first node of loop in linked list.cpp
Find the first node of loop in linked list.cpp
Find the longest string
Find the longest string
Find the maximum GCD of the siblings of a Binary Tree.cpp
Find the maximum GCD of the siblings of a Binary Tree.cpp
Flattening a Linked List.cpp
Flattening a Linked List.cpp
GCD Array.cpp
GCD Array.cpp
Geek's Village and Wells.cpp
Geek's Village and Wells.cpp
Geeks And The String.cpp
Geeks And The String.cpp
Geeks Island.cpp
Geeks Island.cpp
Good Stones.cpp
Good Stones.cpp
Gray to Binary equivalent.cpp
Gray to Binary equivalent.cpp
Insert an Element at the Bottom of a Stack.cpp
Insert an Element at the Bottom of a Stack.cpp
Intersection Point in Y Shaped Linked Lists.cpp
Intersection Point in Y Shaped Linked Lists.cpp
Is it Fibonacci.cpp
Is it Fibonacci.cpp
Job Sequencing Problem.cpp
Job Sequencing Problem.cpp
Kth common ancestor in BST.cpp
Kth common ancestor in BST.cpp
LICENSE
LICENSE
Largest Number formed from an Array.cpp
Largest Number formed from an Array.cpp
Largest Sum Cycle.cpp
Largest Sum Cycle.cpp
Largest subsquare surrounded by X.cpp
Largest subsquare surrounded by X.cpp
Largest subtree sum in a tree.cpp
Largest subtree sum in a tree.cpp
Last cell in a Matrix.cpp
Last cell in a Matrix.cpp
Last modified ball.cpp
Last modified ball.cpp
Length of the longest subarray with positive product.cpp
Length of the longest subarray with positive product.cpp
Linked List that is Sorted Alternatingly.cpp
Linked List that is Sorted Alternatingly.cpp
Make array elements unique.cpp
Make array elements unique.cpp
Max Level Sum in Binary Tree.cpp
Max Level Sum in Binary Tree.cpp
Max Sum without Adjacents.cpp
Max Sum without Adjacents.cpp
Maximum Index.cpp
Maximum Index.cpp
Maximum Number of Toys.cpp
Maximum Number of Toys.cpp
Maximum Number of coins.cpp
Maximum Number of coins.cpp
Maximum Profit By Choosing A Subset Of Intervals.cpp
Maximum Profit By Choosing A Subset Of Intervals.cpp
Maximum Triplet product.cpp
Maximum Triplet product.cpp
Maximum Value.cpp
Maximum Value.cpp
Maximum Weight Node.cpp
Maximum Weight Node.cpp
Min operations.cpp
Min operations.cpp
Minimize number of Students to be removed.cpp
Minimize number of Students to be removed.cpp
Minimize the sum.cpp
Minimize the sum.cpp
Minimum Absolute Difference In BST.cpp
Minimum Absolute Difference In BST.cpp
Minimum BST Sum Subtree.cpp
Minimum BST Sum Subtree.cpp
Minimum Days.cpp
Minimum Days.cpp
Minimum Spanning Tree.cpp
Minimum Spanning Tree.cpp
Minimum X (xor) A.cpp
Minimum X (xor) A.cpp
Minimum element in BST.cpp
Minimum element in BST.cpp
Minimum times A has to be repeated such that B is a substring of it.cpp
Minimum times A has to be repeated such that B is a substring of it.cpp
Missing number in matrix.cpp
Missing number in matrix.cpp
Next Greater Element.cpp
Next Greater Element.cpp
Number of Subarrays of 0's.cpp
Number of Subarrays of 0's.cpp
Pairs violating the BST property.cpp
Pairs violating the BST property.cpp
Palindrome with minimum sum.cpp
Palindrome with minimum sum.cpp
Power Of Numbers.cpp
Power Of Numbers.cpp
Power Set.cpp
Power Set.cpp
Powerfull Integer.cpp
Powerfull Integer.cpp
Prefix Suffix String.cpp
Prefix Suffix String.cpp
Prime List.cpp
Prime List.cpp
Print N-bit binary numbers having more 1s than 0s.cpp
Print N-bit binary numbers having more 1s than 0s.cpp
README.md
README.md
Remove and Reverse.cpp
Remove and Reverse.cpp
Scrambled String.cpp
Scrambled String.cpp
Select Nodes.cpp
Select Nodes.cpp
Shortest Path Using Atmost One Curved Edge.cpp
Shortest Path Using Atmost One Curved Edge.cpp
Shortest Prime Path.cpp
Shortest Prime Path.cpp
View all files
Repository files navigation
README
MIT license
More
items
-Geeks-For-Geeks-
I will Keep my GFG Practice Problems here
About
I will Keep my GFG Practice Problems here
Topics
cpp
datastructrue-algorithm
geeksforgeeks-solutions
gfg
knockcat
Resources
Readme
MIT license
Activity
Stars
3
stars
Watchers
1
watching
Forks
2
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.