30-seconds-of-cpp
30-seconds-of-cpp copied to clipboard
30 Seconds of C++ (STL in C++). Read More about 30C++ here 👉
I chose the algorithm partial sum and wrote a simple C++ code snippet. ## Changes - a new algorithm implementation and its code snippet is added. ## Checklist - [...
This PR... fixes the typo at line 14 in file priority_queue/size.md. ## Changes - I made a descriptive comment for the size method. ## Checklist - [x] I have read...
I fix the wrong description of stack/swap. Fixes # ## Changes I change the stack/swap description. - ## Checklist - [x] I have read CONTRIBUTING guidelines. - [x] This is...
This PR... I've found a tiny bug in algorithms/equal.md Fixes # send an iterator to equal function. ## Changes - ## Checklist - [ ] I have read CONTRIBUTING guidelines....
Recently I have just checked this repo, I found the is_sorted() function is missing. This is_sorted() function which is related to the Algorithm. Can I make my first contribution by...
Added examples and snippets for unordered_map::at(), unordered_map::emplace(), unordered_map::swap() ## Changes Added Markdown file for unordered_map::at(), corresponding code snipped in at.cpp, and link to RexTester with said code snippet. Added Markdown...
This PR... Fixes # ## Changes - ## Checklist - [x] I have read CONTRIBUTING guidelines. - [ ] This is a typo fix. - [ ] I am not...
Updated spelling, grammatical and punctuation errors. This PR... Fixes # ## Changes - ## Checklist - [ ] I have read CONTRIBUTING guidelines. - [ ] This is a typo...
This PR adds a Linked List directory and provides two starting files, demonstrating insertion and removal operations in a singly linked list. ## Changes No existing files and directories were...
This PR adds instructions on the `unordered_map` container's `insert_or_assign` method. ## Checklist - [x] I have read CONTRIBUTING guidelines. - [ ] This is a typo fix. - [x] I...