Algorithm A small C++ implementation of heapsort. The program reads an array from standard input, sorts it, and prints the result. Build and run clang++ -std=c++17 -O2 -o main main.cpp ./main