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 }}
TusharKukra
/
CppPrograms
Public
Notifications
You must be signed in to change notification settings
Fork
18
Star
9
Code
Issues
1
Pull requests
1
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
418 Commits
418 Commits
Folders and files
Name
Name
Last commit message
Last commit date
2D Array
2D Array
Array
Array
Backtracking
Backtracking
Binary Search
Binary Search
Binary Tree
Binary Tree
Bit Manipulation
Bit Manipulation
Character Array
Character Array
Dynamic Memory Allocation
Dynamic Memory Allocation
Dynamic Programming
Dynamic Programming
Graph
Graph
Hashing
Hashing
Heap
Heap
Linked List
Linked List
Miscellaneous Programs
Miscellaneous Programs
Oops
Oops
Pattern Problems
Pattern Problems
Pointer
Pointer
Queue
Queue
Recursion
Recursion
STL
STL
Sorting
Sorting
Stack
Stack
String
String
Compress the String .cpp
Compress the String .cpp
Connect Ropes to minimize Cost.cpp
Connect Ropes to minimize Cost.cpp
Consecutive Fibonacci Triangle (Digits).cpp
Consecutive Fibonacci Triangle (Digits).cpp
Conversion Numbers to Characters (Using Switch Case).cpp
Conversion Numbers to Characters (Using Switch Case).cpp
Count the Triplets.cpp
Count the Triplets.cpp
Diamond.cpp
Diamond.cpp
Digit Triangle (Natural No,1,2,3,4).cpp
Digit Triangle (Natural No,1,2,3,4).cpp
Dynamic diamond pattern.cpp
Dynamic diamond pattern.cpp
DynamicInversedDiamond.cpp
DynamicInversedDiamond.cpp
Factorial of a Number.cpp
Factorial of a Number.cpp
Fibonacci Series (Iterative).cpp
Fibonacci Series (Iterative).cpp
Fibonacci Series (Recursive Method).cpp
Fibonacci Series (Recursive Method).cpp
Fibonacci Triangle with Digits..cpp
Fibonacci Triangle with Digits..cpp
Frequency of Character in a String.cpp
Frequency of Character in a String.cpp
Frequency of each Character in Array .cpp
Frequency of each Character in Array .cpp
FrequencyOfElementInArrayO(1)Space.cpp
FrequencyOfElementInArrayO(1)Space.cpp
Full Pyramid .cpp
Full Pyramid .cpp
Full Pyramid Pascal Triangle .cpp
Full Pyramid Pascal Triangle .cpp
Greatest & Smallest in Array.cpp
Greatest & Smallest in Array.cpp
Infix to Postfix .cpp
Infix to Postfix .cpp
K Closest points to Origin .cpp
K Closest points to Origin .cpp
LISA Workbook .cpp
LISA Workbook .cpp
Largest & Smallest Prime in Array.cpp
Largest & Smallest Prime in Array.cpp
Largest Sum Contiguous Subarray (Kadane's Algo).cpp
Largest Sum Contiguous Subarray (Kadane's Algo).cpp
LeapYear.cpp
LeapYear.cpp
LeetCode- Sorted-Squares .cpp
LeetCode- Sorted-Squares .cpp
Length of String.cpp
Length of String.cpp
Linear Search .cpp
Linear Search .cpp
LinkedList.cpp
LinkedList.cpp
LinkedListReverse.cpp
LinkedListReverse.cpp
MajorityElement(MooreAlgo).cpp
MajorityElement(MooreAlgo).cpp
Matrix Pattern 1.c
Matrix Pattern 1.c
MatrixAddition.cpp
MatrixAddition.cpp
MatrixIdentical.cpp
MatrixIdentical.cpp
MatrixRotation.cpp
MatrixRotation.cpp
MatrixSpiral.cpp
MatrixSpiral.cpp
MatrixSubtract.cpp
MatrixSubtract.cpp
MatrixTranspose.cpp
MatrixTranspose.cpp
Missing Element in Array (Sum approach).cpp
Missing Element in Array (Sum approach).cpp
Natural No Pyramid (1,12,123,1234).cpp
Natural No Pyramid (1,12,123,1234).cpp
Natural No Pyramid Inverted (12345,1234,123).cpp
Natural No Pyramid Inverted (12345,1234,123).cpp
Natural No Pyramid Inverted (Consecutive).cpp
Natural No Pyramid Inverted (Consecutive).cpp
Nth Prime (Sieve of Eratosthenes).cpp
Nth Prime (Sieve of Eratosthenes).cpp
Palindrome.c
Palindrome.c
Parenthesis Balancing.cpp
Parenthesis Balancing.cpp
PerfectNumber
PerfectNumber
PolynomialFunctionsusingoperatoroverload.cpp
PolynomialFunctionsusingoperatoroverload.cpp
Possible Permutations in a String .cpp
Possible Permutations in a String .cpp
Prime Number or Not.cpp
Prime Number or Not.cpp
Prime between two Integers .cpp
Prime between two Integers .cpp
Print all Rotation of a String .cpp
Print all Rotation of a String .cpp
README.md
README.md
Replace Digits .cpp
Replace Digits .cpp
RootsOfQuadraticEquation
RootsOfQuadraticEquation
Separate 0 1 2 .cpp
Separate 0 1 2 .cpp
Sort a String.cpp
Sort a String.cpp
SparseMatrixOperations.cpp
SparseMatrixOperations.cpp
String Swap.cpp
String Swap.cpp
Subarray (Non Zero Product) .cpp
Subarray (Non Zero Product) .cpp
Subarray with given Sum.cpp
Subarray with given Sum.cpp
Sum of Elements btw K1 & K2 smallest.cpp
Sum of Elements btw K1 & K2 smallest.cpp
Swap Adjacent Characters in a String ,c
Swap Adjacent Characters in a String ,c
Swap Adjacent elements in an Array .cpp
Swap Adjacent elements in an Array .cpp
TaylorSeriesRecursion.cpp
TaylorSeriesRecursion.cpp
Top K frequent Numbers (Hash+Heap) .cpp
Top K frequent Numbers (Hash+Heap) .cpp
Tree Traversal (Pre,In,Post-order) .cpp
Tree Traversal (Pre,In,Post-order) .cpp
Von Neuman Program CB.cpp
Von Neuman Program CB.cpp
ioccsize_2018.c
ioccsize_2018.c
View all files
Repository files navigation
README
More
items
Data Structures in C++
About
Basic C++ Programs (Patterns of Numbers, Stars, Alphabets,) and Data Structures Programming in C++.
Topics
cpp
cpp-basic
cpp-patterns
cpp-programming
data-structures
data-structures-and-algorithms
data-structures-cpp
hacktoberfest
hacktoberfest2020
interview-preparation
placement-preparation-portal
star-cpp
star-patterns
Resources
Readme
Activity
Stars
9
stars
Watchers
2
watching
Forks
18
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.