Articles in this series
Understanding Fundamental Data Types and Control Structures in C++ 1. Data Types 1.1 int An integer data type that stores whole numbers. 1.2 float A...
Arrays and Strings Arrays An array is a collection of elements, each identified by an index or a key. In C++, arrays can hold elements of the same...
Vector Array Operations Defining Vector Array vector<int> myArray; Inserting Elements in Vector Array for (int i = 0; i < myArray.size(); i++) { ...
Array Iteration · Brute force approach Iterating Through an Array in C++ and comparing When you have an array and you need to compare each element with...
Finding the Largest Element in an Array · Overview The goal is to find the largest element in an array. The approach involves iterating through the array...
Removing Duplicates from a Sorted Array · Overview The goal is to remove duplicates from a sorted array using a 2-pointer approach. The approach involves...