How to calculate sum of all permutations of a whole number x Calculate sum of all permutations of a whole number Calculate sum of permutations of digits problem statement: Can...
Algorithm for splitting 40 kg stone in 4 parts to measure between 1-40 kg puzzle x Problem Statement:- There is a 40 kg stone that is to be broken into 4 pieces such that you can measure...
What is Luhn’s Algorithm ? How to use it to validate credit card number ? x What is Luhn’s Algorithm? Luhn Algorithm is also known as modulo 10 algorithm or modulus 10 formula. It’s a checksum...
Google code Jam qualification round 2010 – Reverse Words solution x Below is the problem taken from GC jam qualification round 2010:- Problem Given a list of space separated words,...
Algorithm to find largest and smallest summing sub-array from an array x A lot of coding tests by various companies ask these kind of questions. Today we will have a look at one...