MSMD. Shuvoinblog.mdshuvo.me·May 30, 2023 · 1 min readIterator in C++ STL//Iterator declaration Systems. #include <iostream> using namespace std; int main() { vector v; int n; cin>>n; for (int i = 0; i < n; ++i) { int x;cin>>x; v.push_back(x); } // 1st approch /*vector :: iterator it = v.begin(); for (it = v.begin(); it!=...01A
MSMD. Shuvoinblog.mdshuvo.me·Feb 16, 2023 · 2 min readBubble Sort AlgorithmBubble Sort Bubble sort is a simple sorting algorithm that repeatedly steps through a list of items, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted. Here's how...00
MSMD. Shuvoinblog.mdshuvo.me·Aug 9, 2022 · 1 min readWhat is programming?Programming is a creative process that instructs a computer on how to do a task. Computers do what programmers are told, and their instructions come in the form of programs written by humans. There are lots of programming languages. Delphi, C, C++, ...00