HackerRank Abstract Classes – Polymorphism solution in c++ programming

In this HackerRank abstract classes polymorphism problem in c++ programming language, Abstract base classes in C++ can only be used as base classes. Thus, they are allowed to have virtual member functions without definitions. A cache is a component that stores data so future requests for that data can be served faster. The data stored … Read more

HackerRank Vector-Sort solution in c++ programming

In this HackerRank vector-sort problem in the c++ programming language, You are given N integers.Sort the N integers and print the sorted order. Store the N integers in a vector.Vectors are sequence containers representing arrays that can change in size. HackerRank Vector-Sort problem solution in c++ programming. #include <cmath> #include <cstdio> #include <vector> #include <iostream> … Read more