C-Plus-Plus icon indicating copy to clipboard operation
C-Plus-Plus copied to clipboard

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

Results 378 C-Plus-Plus issues
Sort by recently updated
recently updated
newest added

#### Description of Change In priority scheduling, every process is associated with a priority ranging from 0-10 where, integer 0 represents the lowest priority and 10 represents the highest priority....

#### Description of Change Implemented inorder tree traversal #### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md#New-File-Name-guidelines) - [x] Added tests and...

### Detailed description Some more questions can be added on this topic like "Given an array of numbers that repeat twice, except a single number that occurs only once. Find...

enhancement

### Detailed description Round Robin is a preemptive CPU scheduling algorithm ### Context This algorithm is widely used in OS lectures . Addition of this will help huge number of...

enhancement

### Detailed description We are given a directed graph. We need to compute whether the graph has a negative cycle or not. A negative cycle is one in which the...

enhancement

### What would you like to share? Dijkstra Algorithm helps to find the shortest path in a graph. I will provide the proper explanation and code for this algorithm. ###...

enhancement

### Detailed description for example if we want to calculate the factorial of 5 we can simply calculate it as 120 and 120 can be stored in integer data type...

enhancement

### What would you like to share? Currently in the repository existing Trie implementations are **not so beginner friendly**, So I want to contribute a beginner-friendly code **to implement** and...

### Detailed description I am proposing C++ implementation of the famous Josephus problem. The statement is as follows - Consider a game where there are n children (numbered 1,2,…,n) in...

enhancement

### Detailed description My contribution will make it easier and faster to calculate large exponents. ### Context The pow function in STL has a return type of double and gives...

enhancement