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 }}
Ayushluthra2001
/
DataStructurewithAyushluthra
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
528 Commits
528 Commits
Folders and files
Name
Name
Last commit message
Last commit date
DSA_Assignment01
DSA_Assignment01
.gitignore
.gitignore
12-5-24 Implement strstr.cpp
12-5-24 Implement strstr.cpp
14Longest Common Subsequence(TLE).cpp
14Longest Common Subsequence(TLE).cpp
1692B - All Distinct.cpp
1692B - All Distinct.cpp
2006. Count Number of Pairs With Absolute Difference K.cpp
2006. Count Number of Pairs With Absolute Difference K.cpp
2326. Spiral Matrix IV.cpp
2326. Spiral Matrix IV.cpp
24-12-22
24-12-22
3-8-24Create Binary Array Sorting.cpp
3-8-24Create Binary Array Sorting.cpp
34. Find First and Last Position of Element in Sorted Array.cpp
34. Find First and Last Position of Element in Sorted Array.cpp
383. Ransom Note.cpp
383. Ransom Note.cpp
52. N-Queens II.cpp
52. N-Queens II.cpp
88. Merge Sorted Array.cpp
88. Merge Sorted Array.cpp
A - QAQ.cpp
A - QAQ.cpp
A - Rudolf and the Ticket.cpp
A - Rudolf and the Ticket.cpp
Activity Selection.cpp
Activity Selection.cpp
Add 1 to a number represented as linked list.cpp
Add 1 to a number represented as linked list.cpp
Add Binary.cpp
Add Binary.cpp
Add Digits.cpp
Add Digits.cpp
Add Strings.cpp
Add Strings.cpp
Add to Array-Form of Integer.cpp
Add to Array-Form of Integer.cpp
Add two numbers represented by linked lists.cpp
Add two numbers represented by linked lists.cpp
Akku and Binary Numbers(TLE).cpp
Akku and Binary Numbers(TLE).cpp
Alternate positive and negative numbers.cpp
Alternate positive and negative numbers.cpp
AmazonStore.cpp
AmazonStore.cpp
Anagram of String.cpp
Anagram of String.cpp
Anton and Letters.cpp
Anton and Letters.cpp
Anton and Polyhedrons.cpp
Anton and Polyhedrons.cpp
Apply Operations to an Array.cpp
Apply Operations to an Array.cpp
Array Index & Element Equality.cpp
Array Index & Element Equality.cpp
Array Removals.cpp
Array Removals.cpp
Array Subset of another array.cpp
Array Subset of another array.cpp
Array to BST(9-11-22).cpp
Array to BST(9-11-22).cpp
Assign Cookies.cpp
Assign Cookies.cpp
Average Value of Even Numbers That Are Divisible by Three.cpp
Average Value of Even Numbers That Are Divisible by Three.cpp
BFS of graph.cpp
BFS of graph.cpp
Base 7.cpp
Base 7.cpp
Binary Array Sorting.cpp
Binary Array Sorting.cpp
Binary Number with Alternating Bits.cpp
Binary Number with Alternating Bits.cpp
Binary Search.cpp
Binary Search.cpp
Binary Tree Paths.cpp
Binary Tree Paths.cpp
Binary Tree Tilt.cpp
Binary Tree Tilt.cpp
Bit Difference.cpp
Bit Difference.cpp
Bitwise AND of Numbers Range.cpp
Bitwise AND of Numbers Range.cpp
Bottom view of Tree.cpp
Bottom view of Tree.cpp
Box Stacking.cpp
Box Stacking.cpp
Bulk Discount.cpp
Bulk Discount.cpp
Busiest Time in The Mall.cpp
Busiest Time in The Mall.cpp
Calculate Delayed Arrival Time.cpp
Calculate Delayed Arrival Time.cpp
Check if All the Integers in a Range Are Covered.cpp
Check if All the Integers in a Range Are Covered.cpp
Check if Linked List is Palindrome( Extra Space).cpp
Check if Linked List is Palindrome( Extra Space).cpp
Check if two Nodes are Cousins.cpp
Check if two Nodes are Cousins.cpp
Check if two arrays are equal or not(11120202).cpp
Check if two arrays are equal or not(11120202).cpp
Check if two arrays are equal or not.cpp
Check if two arrays are equal or not.cpp
Children Sum Parent.cpp
Children Sum Parent.cpp
Chocolate Distribution.cpp
Chocolate Distribution.cpp
Choose and Swap.cpp
Choose and Swap.cpp
Closet 0s 1s and 2s.cpp
Closet 0s 1s and 2s.cpp
Code Testcase Testcase Result Guide Guide 121. Best Time to Buy and Sell Stock.cpp
Code Testcase Testcase Result Guide Guide 121. Best Time to Buy and Sell Stock.cpp
Coin Change - Minimum number of coins(Dp+recursion).cpp
Coin Change - Minimum number of coins(Dp+recursion).cpp
Coin Change - Minimum number of coins(TLE).cpp
Coin Change - Minimum number of coins(TLE).cpp
Coin Minining(DFS).cpp
Coin Minining(DFS).cpp
Combination Sum.cpp
Combination Sum.cpp
Common Elements.cpp
Common Elements.cpp
Construct the Rectangle(TLE).cpp
Construct the Rectangle(TLE).cpp
Construct the Rectangle.cpp
Construct the Rectangle.cpp
Container With Most Water.cpp
Container With Most Water.cpp
Contains Duplicate(BruteForceApproach).cpp
Contains Duplicate(BruteForceApproach).cpp
Convert 1D Array Into 2D Array.cpp
Convert 1D Array Into 2D Array.cpp
Convert a sentence into its equivalent mobile numeric keypad sequence.cpp
Convert a sentence into its equivalent mobile numeric keypad sequence.cpp
Convert array into Zig-Zag fashion.cpp
Convert array into Zig-Zag fashion.cpp
Convert the Temperature.cpp
Convert the Temperature.cpp
Count Inversions.cpp
Count Inversions.cpp
Count More than n divide by k Occurences.cpp
Count More than n divide by k Occurences.cpp
Count Number of Distinct Integers After Reverse Operations.cpp
Count Number of Distinct Integers After Reverse Operations.cpp
Count Primes(TLE).cpp
Count Primes(TLE).cpp
Count Substrings That Satisfy K-Constraint II.cpp
Count Substrings That Satisfy K-Constraint II.cpp
Count distinct elements in every window.cpp
Count distinct elements in every window.cpp
Count number of hops(TLE).cpp
Count number of hops(TLE).cpp
Count number of hops.cpp
Count number of hops.cpp
Count the Number of Consistent Strings.cpp
Count the Number of Consistent Strings.cpp
Count the Number of Special Characters I.cpp
Count the Number of Special Characters I.cpp
Count the number of possible triangles.cpp
Count the number of possible triangles.cpp
Count ways to N'th Stair(Order does not matter).cpp
Count ways to N'th Stair(Order does not matter).cpp
Count ways to reach the n'th stair(25-4-23).cpp
Count ways to reach the n'th stair(25-4-23).cpp
Count ways to reach the n'th stair(Recursion + dp ).cpp
Count ways to reach the n'th stair(Recursion + dp ).cpp
Counting Sort.cpp
Counting Sort.cpp
Counting elements in two arrays.cpp
Counting elements in two arrays.cpp
Cousins in Binary Tree.cpp
Cousins in Binary Tree.cpp
Create Next Greater Element(31-8-23).cpp
Create Next Greater Element(31-8-23).cpp
DFS of Graph.cpp
DFS of Graph.cpp
Decompress Run-Length Encoded List.cpp
Decompress Run-Length Encoded List.cpp
Delete Middle of Linked List(Two Pointer).cpp
Delete Middle of Linked List(Two Pointer).cpp
Delete nodes having greater value on right(O(N)).cpp
Delete nodes having greater value on right(O(N)).cpp
Delete without head pointer(17-3-23).cpp
Delete without head pointer(17-3-23).cpp
Delete without head pointer.cpp
Delete without head pointer.cpp
Delete without head pointer1.cpp
Delete without head pointer1.cpp
Detect Loop in linked list(15-3-23).cpp
Detect Loop in linked list(15-3-23).cpp
Detect Loop in linked list.cpp
Detect Loop in linked list.cpp
Determine if String Halves Are Alike(Using-find_function).cpp
Determine if String Halves Are Alike(Using-find_function).cpp
View all files
Repository files navigation
README
More
items
DSA for practice
About
Solving Extra question of LeetCode and GeeksforGeeks other than Potd or contest problems.
Topics
contest
contest-solution
cpp
data-structures
data-structures-and-algorithms
leetcode-contests
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.