Printing a star(*) pattern in the shape of a rhombus with the size given by the user in C++.

An algorithm to solve the problem of the maximum sum of all subarrays in time complexity O(n).

An efficient and faster way to find prime factors of a number using sieve of Eratosthenes in C++ programming.