Hackerrank Vector-Sort Solution
You are given integers.Sort the integers and print the sorted order.
Store the integers in a vector.Vectors are sequence containers representing arrays that can change in size.
Declaration:
vectorv; (creates an empty vector of integers)
Size:
int size=v.size();
Pushing an integer into a vector:
v.