C++ fundamentals and questions for beginners and intermediates. Welcoming developers, content writers, and programming enthusiasts.

Overview

Rules To Contribute To This Repo

  • You can write solutions only in C++ for Data Structure and Algorithms (if you dont know C++ you can submit only algorithm)
  • Follow file naming convention for all your pull requests.
  • While adding any content it should be inside its appropiate directory
  • if there is any problem with inaccurate solution create an issue!

file naming convention

use file type comments
questions README.md all questions of particular topic are mentioned in a README.md file inside the sub topic folder
C++ solutions [topic name].cpp solution C++ codele code to a question is written in same folder where question is mentioned
algorithm solution [topic name]-algorithm.txt algorithm solution to a question is written in a .txt txt file in same folder where question is mentioned
technical writing [topic name]-content.md or [topic name]-content.txt technical content can be provided in simple .txt text document inside technical writing folder you can also style it up and submit a .md file if you are aquainted with markdown language

Things you can contribute to

  • Repo contain folders of all the data structures and algorithms topics with some pre-addressed questions. You can add a solution to a question ( present in the readme of particular topic folder) that is unanswered.
  • you can update existing solution with a better one ( better complexity).
  • Participants can even add new questions and solutions of their interest.
  • There will be a technical writing section in which participants can contribute their technical writing on any topic of c++ and data structures.
  • solve issues raised by other people or yourself.
  • make webpage ( hosted from GitHub readme ) more appealing and updated.
  • Well-documented source code with detailed explanations provides a valuable resource for educators and students alike.

Steps For Contribution

1. Fork this repo
2. Star this repo
3. Add a file ( txt/cpp ) inside appropriate folder 
4. commit the code
5. Make pull request

image


FEATURES

  1. Beginner-friendly
  2. Targeted for developers, content writers, and programming enthusiasts.
  3. Would also help participants who are not familiar with development but are eager to participate in open source.

DSA-Bootcamp-CPP



Materials


Contributors


Connect with me

Sushree's LinkdeIn Sushree's Instagram Sushree's Twitter โ€‚โ€‚โ€‚



Thank You

Comments
  • fibonacci series using recursion

    fibonacci series using recursion

    Description

    Description I want to add Fibonacci series using recursion in cpp

    Domain

    Recursion

    Type of Contribution

    Code

    Code of Conduct

    • [X] I follow Contributing Guidelines & Code of conduct.
    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by sanjanapaidi 6
  • ADDED New program inArray section

    ADDED New program inArray section


    Description ๐Ÿ“œ

    added a program to fine the maximum and the minimum element in an array.


    Type of change ๐Ÿ“

    • [x] Code
    • [ ] Documentation (Content Creation in the form of codes or tutorials)
    • [ ] Notes (Handwritten notes, cheatsheets, presentations, mind-maps)
    • [ ] Others (If you choose other, Please mention changes below)

    Domain of Contribution ๐Ÿ“Š

    • [ ] Introduction
    • [ ] Mathematics
    • [ ] Bit Magic
    • [ ] Recursion
    • [x] Arrays
    • [ ] Searching
    • [ ] Sorting
    • [ ] Matrix
    • [ ] Hashing
    • [ ] String
    • [ ] Linked List
    • [ ] Stacks
    • [ ] Queue
    • [ ] Deque
    • [ ] Tree
    • [ ] Binary Search Tree
    • [ ] Heap
    • [ ] Graph
    • [ ] Greedy
    • [ ] Backtracking
    • [ ] Dynamic Programming
    • [ ] Trie
    • [ ] Segment Tree
    • [ ] Disjoint Set
    • [ ] Others

    Checklist โœ…

    • [x] I follow Contributing Guidelines & Code of conduct of this project.
    • [x] I have performed a self-review of my own code or work.
    • [x] I have commented my code, particularly in hard-to-understand areas.
    • [x] My changes generates no new warnings.

    Screenshots / Gif (Optional) ๐Ÿ“ธ


    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by kraticodes 6
  • Lowest Common Ancestor of a Binary Tree

    Lowest Common Ancestor of a Binary Tree

    Description

    Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.

    According to the definition of LCA on Wikipedia: โ€œThe lowest common ancestor is defined between two nodes p and q as the lowest node in T that has both p and q as descendants (where we allow a node to be a descendant of itself).โ€

    I am a contributor in hacktoberfest 2021. Please assign me this issue I want to work on it Thank you

    Domain

    Tree

    Type of Contribution

    Code

    Code of Conduct

    • [X] I follow Contributing Guidelines & Code of conduct.
    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by rajbir21-droid 5
  • Linear Search

    Linear Search

    Is your feature request related to a problem? Please describe. I went through the search folder and found that there is no linear search.

    Describe the solution you'd like I would like to add a C++ code for the linear search

    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by kavania2002 4
  • 0-1Knapsack problem using recursion

    0-1Knapsack problem using recursion

    Description

    Given weights and values of n items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack. In other words, given two integer arrays val[0..n-1] and wt[0..n-1] which represent values and weights associated with n items respectively. Also given an integer W which represents knapsack capacity, find out the maximum value subset of val[] such that sum of the weights of this subset is smaller than or equal to W. You cannot break an item, either pick the complete item or donโ€™t pick it (0-1 property).

    Domain

    Recursion

    Type of Contribution

    Code

    Code of Conduct

    • [X] I follow Contributing Guidelines & Code of conduct.
    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by shivam-0510-zz 4
  •  Kth Largest Element in an Array

    Kth Largest Element in an Array

    Description

    Given an integer array nums and an integer k, return the kth largest element in the array.

    Note that it is the kth largest element in the sorted order, not the kth distinct element.

    Domain

    Heap

    Type of Contribution

    Code

    Code of Conduct

    • [X] I follow Contributing Guidelines & Code of conduct.
    opened by jainsanyam228 3
  • Detect loop in a linked list

    Detect loop in a linked list

    Description

    Hey @Sushreesatarupa I would like to work on this.Please assign it to me.

    Domain

    Linked List

    Type of Contribution

    Code

    Code of Conduct

    • [X] I follow Contributing Guidelines & Code of conduct.
    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by Abhas-15 3
  • Delete the middle node of a Linked List

    Delete the middle node of a Linked List

    Description

    Cpp code to delete the middle the element of the Linked List. If the length of the linked list is odd then delete (( n+1)/2)th term of the linked list and if the list is of even length then delete the (n/2+1)th term of the liked list.

    Domain

    Linked List

    Type of Contribution

    Code

    Code of Conduct

    • [X] I follow Contributing Guidelines & Code of conduct.
    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by RADHIKA-JOSHI123 3
  • Add files via upload

    Add files via upload


    Description ๐Ÿ“œ

    • Program to sort the array using cycle sort.
    • cycle sort is used when we have to sort the array when we have to do minimum number of swaps.mean memory write is costly.
    • Fixes # <issue_number_here>

    Type of change ๐Ÿ“

    • [ ] Code
    • [x] Documentation (Content Creation in the form of codes or tutorials)
    • [ ] Notes (Handwritten notes, cheatsheets, presentations, mind-maps)
    • [ ] Others (If you choose other, Please mention changes below)

    Domain of Contribution ๐Ÿ“Š

    • [ ] Introduction
    • [ ] Mathematics
    • [ ] Bit Magic
    • [ ] Recursion
    • [ ] Arrays
    • [ ] Searching
    • [x] Sorting
    • [ ] Matrix
    • [ ] Hashing
    • [ ] String
    • [ ] Linked List
    • [ ] Stacks
    • [ ] Queue
    • [ ] Deque
    • [ ] Tree
    • [ ] Binary Search Tree
    • [ ] Heap
    • [ ] Graph
    • [ ] Greedy
    • [ ] Backtracking
    • [ ] Dynamic Programming
    • [ ] Trie
    • [ ] Segment Tree
    • [ ] Disjoint Set
    • [ ] Others

    Checklist โœ…

    • [x] I follow Contributing Guidelines & Code of conduct of this project.
    • [x] I have performed a self-review of my own code or work.
    • [x] I have commented my code, particularly in hard-to-understand areas.
    • [x] My changes generates no new warnings.

    Screenshots / Gif (Optional) ๐Ÿ“ธ


    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by varshney565 3
  • Join two linked lists

    Join two linked lists

    Description

    Hey, i want to add a program for joining two linked lists.Please assign it to me under Hacktoberfest.

    Domain

    Linked List

    Type of Contribution

    Code

    Code of Conduct

    • [X] I follow Contributing Guidelines & Code of conduct.
    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by pawangupta5167 3
  • [Create New Issue]: Breadth First Search Binary Tree

    [Create New Issue]: Breadth First Search Binary Tree

    Description

    C++ code for level order traversal in binary search tree

    Domain

    Binary Search Tree

    Type of Contribution

    Code

    Code of Conduct

    • [X] I follow Contributing Guidelines & Code of conduct.
    Hacktoberfest-Excluded-AlgorithmRepos-forbetter-PR 
    opened by Sunainacode 3
Owner
Sushree Satarupa
CSE Prefinal Year NIT Rourkela | Microsoft Learn Student Ambassador | President at SHECODERS | ICS Mentor
Sushree Satarupa
Every week exercises for Introduction to Algorithms and Programming

cen109-algorithms commands to compile and link C and C++ programs gcc filename.c -o executableFileName g++ filename.cpp -o executableFileName filename

null 2 Dec 19, 2022
C++17 (-O2) template for competitive programming algorithms, which contains numerous math algorithms.

cpplibForCP C++17 (-O2) template for competitive programming algorithms, which contains numerous math algorithms. Aims: build a stable, fast, easy-to-

null 33 Nov 25, 2022
Collection of algorithms and data structures in C++ and Java

Collection of algorithms and data structures in C++ and Java

Andrei Navumenka 1.7k Jan 2, 2023
Organic Maps is a better fork of MAPS.ME, an Android & iOS offline maps app for travelers, tourists, hikers, and cyclists based on top of crowd-sourced OpenStreetMap data and curated with love by MAPS.ME founders.

?? Organic Maps is a better fork of MAPS.ME, an Android & iOS offline maps app for travelers, tourists, hikers, and cyclists based on top of crowd-sourced OpenStreetMap data and curated with love by MAPS.ME founders. No ads, no tracking, no data collection, no crapware.

Organic Maps 4.4k Jan 2, 2023
WasmEdge Runtime is a high-performance, extensible, and hardware optimized WebAssembly Virtual Machine for automotive, cloud, AI, and blockchain applications.

WasmEdge Runtime is a high-performance, extensible, and hardware optimized WebAssembly Virtual Machine for automotive, cloud, AI, and blockchain applications.

null 5.1k Jan 5, 2023
Emusicchain is a blockchain built using Cosmos SDK and Tendermint and created with Starport.

emusicchain emusicchain is a blockchain built using Cosmos SDK and Tendermint and created with Starport. Get started starport chain serve serve comma

null 2 May 13, 2022
A library of common data structures and algorithms written in C.

C Algorithms The C programming language includes a very limited standard library in comparison to other modern programming languages. This is a coll

Simon Howard 2.9k Jan 9, 2023
Several algorithms and data structures implemented in C++ by me (credited to others where necessary).

Algorithms This repository contains my implementations of several algorithms and data structures in C++ (credited to others where necessary). It has i

Petar Veliฤkoviฤ‡ 589 Dec 19, 2022
C++ implementations of well-known (and some rare) algorithms, while following good software development practices

ProAlgos: C++ This project is focused on implementing algorithms and data structures in C++, while following good software engineering practices, such

ProAlgos 485 Dec 7, 2022
Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.

Xournal++ is a hand note taking software written in C++ with the target of flexibility, functionality and speed. Stroke recognizer and other parts are based on Xournal Code

Xournalpp 7.9k Jan 7, 2023
Rufus is a utility that helps format and create bootable USB flash drives.

Rufus is a utility that helps format and create bootable USB flash drives.

Pete Batard 21.3k Jan 9, 2023
Provide building blocks (software, hardware and algorithms) for implementing SLAM using small sensors

RemoteSLAM The purpose of this repo is to provide the building blocks (software drivers, hardware and algorithms) for implementing SLAM systems using

Autonomous Drones Lab, Tel Aviv University 38 Jan 20, 2022
Pseudofermion functional renormalization group solver for (frustrated) quantum magnets in two and three spatial dimensions.

SpinParser SpinParser ("Spin Pseudofermion Algorithms for Research on Spin Ensembles via Renormalization") is a software platform to perform pseudofer

Finn Lasse Buessen 19 Sep 5, 2022
CXXGraph is a Header-Only C++ Library for Graph Representation and Algorithms

CXXGraph is a small library, header only, that manages the Graph and it's algorithms in C++. In other words a "Comprehensive C++ Graph Library".

ZigRazor 186 Dec 29, 2022
Official ACM CSS PEC repository for resources and all things Open source

Contributing Guidelines Ahoy there! Welcome to the PEC-ACM Open Source Repository. We request you to read the whole guidelines before making any pull

PEC CSS 78 Dec 25, 2022
Header-only C++ library for robotics, control, and path planning algorithms.

Header-only C++ library for robotics, control, and path planning algorithms.

null 360 Dec 13, 2022
c++ library including few algorithms and datastructures

c++ library including few algorithms and datastructures

null 2 Dec 25, 2021
A simple single header C/C++ Library for AABB Collision detection and resolution.

A simple single header C/C++ Library for AABB Collision detection and resolution

Siddharth Roy 8 Dec 31, 2022
My attempt at implementing the fast voxel traversal algorithm by Amanatides and Woo using OpenGL

Attempt at implementing the fast voxel traversal algorithm Works on both Linux and Windows. Recommended software: Linux: Visual Studio Code / Windows:

Niklas Mรคckle 2 Sep 24, 2021