Implementation of few common algorithm that is commonly used in Coding competitions