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 }}
cngeru
algorithms
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
algorithms
Public
Notifications
You must be signed in to change notification settings
Fork
1
(
1
)
Star
1
(
1
)
You must be signed in to star a repository
About
A couple of algorithms I've perfected or borrowed over the past few years.
Resources
Readme
Activity
Stars
1
star
Watchers
2
watching
Forks
1
fork
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
2 Commits
2 Commits
Folders and files
Name
Name
Last commit message
Last commit date
Add Two Numbers.js
Add Two Numbers.js
Average of Levels in Binary Tree.js
Average of Levels in Binary Tree.js
Balanced Binary Tree.js
Balanced Binary Tree.js
Banking API.js
Banking API.js
Best time to Buy and Sell Stock.js
Best time to Buy and Sell Stock.js
Best time to buy and sell stocks II.js
Best time to buy and sell stocks II.js
Binary Tree Inorder Traversal.js
Binary Tree Inorder Traversal.js
Binary Tree Level Order Traversal.js
Binary Tree Level Order Traversal.js
Binary Tree Paths.js
Binary Tree Paths.js
Binary Tree Zigzag Level Order Traversal.js
Binary Tree Zigzag Level Order Traversal.js
CTCI.js
CTCI.js
Combination Sum II.js
Combination Sum II.js
Combination Sum.js
Combination Sum.js
Concatenated Words.js
Concatenated Words.js
Construct the Rectangle.js
Construct the Rectangle.js
Conway's Game of Life.js
Conway's Game of Life.js
Daily Temperatures.js
Daily Temperatures.js
Diameter of a Binary Tree.js
Diameter of a Binary Tree.js
Fibonacci and permutations.js
Fibonacci and permutations.js
Find Anagram Mappings.js
Find Anagram Mappings.js
Find Bottom Left Tree Value.js
Find Bottom Left Tree Value.js
Find Largest Value in Each Tree Row.js
Find Largest Value in Each Tree Row.js
First Bad Version.js
First Bad Version.js
Generate Parentheses.js
Generate Parentheses.js
Group Anagrams.js
Group Anagrams.js
IP to binaries.js
IP to binaries.js
Intersection of Two Arrays II.js
Intersection of Two Arrays II.js
Intersection of Two Arrays.js
Intersection of Two Arrays.js
KnapSack.js
KnapSack.js
Kth element - quickSort.js
Kth element - quickSort.js
LRUCache.js
LRUCache.js
Letter Combination Phone #.js
Letter Combination Phone #.js
Letter Combinations in a Phone Number.js
Letter Combinations in a Phone Number.js
Linked List Cycle.js
Linked List Cycle.js
Longest Continuous Increasing Subsequence.js
Longest Continuous Increasing Subsequence.js
Longest Palindromic Substring.js
Longest Palindromic Substring.js
Longest Substring Without Repeating Characters.js
Longest Substring Without Repeating Characters.js
Lowest Common Ancestor of a BST.js
Lowest Common Ancestor of a BST.js
Lowest Common Ancestor of a Binary Tree.js
Lowest Common Ancestor of a Binary Tree.js
Maximum Depth of Binary Tree.js
Maximum Depth of Binary Tree.js
Meeting Rooms II.js
Meeting Rooms II.js
Merge Intervals.js
Merge Intervals.js
Merge Two Sorted Lists.js
Merge Two Sorted Lists.js
MergeSort for LinkedList.js
MergeSort for LinkedList.js
Min Stack II.js
Min Stack II.js
Min Stack.js
Min Stack.js
Minimum Depth of Binary Tree.js
Minimum Depth of Binary Tree.js
Minimum Window Substring.js
Minimum Window Substring.js
Most Common Word.js
Most Common Word.js
Move Zeroes.js
Move Zeroes.js
N-queens.js
N-queens.js
Next Interval.js
Next Interval.js
Next Permutation.js
Next Permutation.js
Number of Islands.js
Number of Islands.js
Number of Longest Increasing Subsequence.js
Number of Longest Increasing Subsequence.js
Palindrome Linked List.js
Palindrome Linked List.js
Pascal Triangle.js
Pascal Triangle.js
Path Sum II.js
Path Sum II.js
Path Sum III.js
Path Sum III.js
Path Sum.js
Path Sum.js
Permutations II.js
Permutations II.js
Permutations.js
Permutations.js
Q with 2 Stacks.js
Q with 2 Stacks.js
README.md
README.md
Realization.js
Realization.js
Remove Duplicates from Sorted Array II.js
Remove Duplicates from Sorted Array II.js
Remove Nth Node From End of List.js
Remove Nth Node From End of List.js
RockPaperScissors.js
RockPaperScissors.js
Roman to Num_Num to Roman.js
Roman to Num_Num to Roman.js
Sieve for primes.js
Sieve for primes.js
Sort Colors.js
Sort Colors.js
Spiral Matrix.js
Spiral Matrix.js
Subarray Sum Equals K.js
Subarray Sum Equals K.js
Subdomain Visit Count.js
Subdomain Visit Count.js
Subsets II.js
Subsets II.js
Subsets.js
Subsets.js
Subtree of another tree.js
Subtree of another tree.js
Sum (2).js
Sum (2).js
Sum Closest.js
Sum Closest.js
Sum of Left Leaves.js
Sum of Left Leaves.js
Sum.js
Sum.js
Symmetric Tree.js
Symmetric Tree.js
Task Scheduler.js
Task Scheduler.js
Two Sum.js
Two Sum.js
Two Sums IV - Input is a BST.js
Two Sums IV - Input is a BST.js
Valid Palindrome II.js
Valid Palindrome II.js
Valid Palindrome.js
Valid Palindrome.js
Valid Parentheses.js
Valid Parentheses.js
Valid Parenthesis String.js
Valid Parenthesis String.js
Validate BST.js
Validate BST.js
Vignere-Cipher.js
Vignere-Cipher.js
Word Break.js
Word Break.js
Word Pattern.js
Word Pattern.js
Word Search II.js
Word Search II.js
Word Search.js
Word Search.js
countSticks.js
countSticks.js
mergeSort.js
mergeSort.js
primeschecker.js
primeschecker.js
stackSorting.js
stackSorting.js
View all files
Repository files navigation
README
More
items
algorithms
A couple of algorithms I've perfected or borrowed over the past few years.
About
A couple of algorithms I've perfected or borrowed over the past few years.
Resources
Readme
Activity
Stars
1
star
Watchers
2
watching
Forks
1
fork
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.