Josephus problem
The Josephus problem belongs to the history and is a perfect example that how mathematics can save your life. There were Jewish soldiers...
Puppy and Triangles
Puppy Tuzik has recently found two triangles and a quadrilateral cut out from a large sheet of paper. Being a curious puppy, Tuzik...
2D array sort
Problem Statement: You are given an arbitrary n*m matrix and you have to sort all the elements in ascending order. For example : You can...
Maximum matrix duplet
Problem statement : You are given a square matrix n*n and you have to find the maximum duplet, where a duplet is defined as a set of two...
Matrix-Multiplication
In mathematics, matrix multiplication or the matrix product is a binary operation that produces a matrix from two matrices. Let us...