Hello Everyone,

This tutorial is for programmers who are new to competitive programming or who are not using c++ because it seems difficult.In this tutorial i will be only demonstrating some syntax.

Vectors (Arrays Alternative)

Vectors are very similar to array only they are dynamic in nature.

i. Initialisation - It can be initialised in mainly two ways.

(ii) Access- It can be accessed as same as arrays.

(iii) Insert and remove

Suppose you have not defined the size of your vector.So …

Harsh Solanki

computer science student,loves to read a person’s programming experience

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store