Skip to content

This repository contains a collection of C++ programs for educational practice.

Notifications You must be signed in to change notification settings

husainhakim/Husain_sem1100programs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Programming Practice Repository

This repository contains a collection of C++ programs covering various topics and problem types. The programs are intended for educational purposes and practice in C++ programming.

Program Categories

1. Basic Programs

  • Sum of Numbers Using Loop
  • Prime or Not
  • Factorial Using Recursion
  • Fibonacci Sequence
  • Multiplication Table
  • Sum of N Even Numbers
  • Perfect Number Checker
  • Roots of Quadratic Equation
  • Power Using Loop
  • Area of Triangle
  • Celsius to Fahrenheit Conversion
  • Leap Year Checker

2. Number and String Operations

  • Palindrome String
  • Reverse String
  • Length of String
  • Sum of Digits of a Number
  • Armstrong Number Checker
  • Sum of Digits Till Single Digit
  • Palindrome Number Checker
  • String Concatenation Without strcat

3. Array Operations

  • Largest and Smallest Element of Array
  • Average of Elements of Array
  • Linear Search
  • Frequency of Element in Array
  • Length of Array of Characters
  • String Array in Alphabetical Order
  • Reverse an Array In-Place
  • Array in Ascending Order
  • Remove Duplicate Element from Array
  • Rotate an Array to the Left by N Positions
  • Second Largest Element in Array
  • Intersection of Two Arrays
  • Majority Element in Array
  • Segregate Even and Odd Numbers
  • Kth Smallest Element in Array

4. Matrix Operations

  • Transpose of Matrix
  • Sum of Rows of Matrix
  • Largest Element in Each Row of Matrix
  • Add Two Matrices of Different Dimensions

5. Looping Patterns

  • Right-Angled Triangle Using Nested Loops
  • Pyramid Pattern Using Nested Loops
  • Pascal's Triangle Using Loop
  • Pyramid Pattern of Numbers Using Nested Loops
  • Pattern of a Hollow Box Using Nested Loops
  • Alphabet Pattern

6. Recursion

  • Factorial Using Nested Loop
  • LCM of Two Numbers Using Nested Loop
  • Sum of Series Using Loop
  • Pascal's Triangle Using Loop
  • Fibonacci Series Using Recursion
  • Tower of Hanoi Using Recursion
  • HCF Using Recursion
  • Sum of Natural Numbers Using Recursion
  • Sum of Digits Using Recursion
  • Prime Checker Using Recursion
  • Factorial Using Memoization
  • N-Queen Problem
  • Subsequence of Two Strings

7. Miscellaneous

  • Calculator with a Menu Using Switch-Case
  • ATM Process Using Switch-Case
  • Shortest Path in Maze

8. Advanced Topics

  • Dynamic Programming (if applicable)

Contributing

Feel free to contribute by adding more programs, improving existing ones, or suggesting enhancements.

Downloading the Zip File:

Go to your GitHub repository's main page. Click on the green "Code" button located towards the top right. Select "Download ZIP" from the dropdown menu. The zip file containing your entire repository will start downloading.

Unzipping the Downloaded File:

Locate the downloaded zip file in your file explorer (e.g., File Explorer on Windows or Finder on macOS). Right-click on the zip file. Select "Extract All" (Windows) or "Open With" > "Archive Utility" (macOS). Choose the destination where you want to extract the files. Click "Extract" or "Open".

Opening the Repository in Visual Studio Code:

Open Visual Studio Code (make sure you have it installed on your computer). In Visual Studio Code, go to File > Open.... Navigate to the folder where you extracted your repository files. Select the folder (the one containing your README.md file and other program files) and click "Open". Now, your repository should be opened in Visual Studio Code, and you can start exploring, editing, and running your C++ programs!

This process should help you get started with your downloaded repository and make it accessible for editing and running your C++ programs in Visual Studio Code.

You can download this repository to your local machine using the command line interface (CLI). Follow these steps:

  1. Downloading the Zip File: Open your terminal or command prompt.

    Using curl:

    curl -LOk https://github.com/username/repository-name/archive/main.zip
  • Using WGET:
 wget https://github.com/username/repository-name/archive/main.zip

Contact

If you have any questions, suggestions, or just want to connect, feel free to reach out:


Thank you for visiting my LeetCode Sync repository. Happy coding!

About

This repository contains a collection of C++ programs for educational practice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%