Insertion Sort C++

WHAT IS INSERTION SORT : Insertion sort is a sorting algorithm which sorts the input data by putting elements into the sorted array one at a time . It compares the next element in the array and puts it in the right place .                                    WHY INSERTION SORT : When there are couple of sorting … Continue reading Insertion Sort C++

Rate this:

Multiplying two numbers whose first figures are same and last figures add upto ten using Vedic Mathematics

Formula: Na * Nb = (N+1) * N(a *b) where a + b = 10 Example: 54 * 56 = (5 +1) * 5(4 * 6)=(6 * 5)(4 * 6)= 3024 62 * 68 =(6+1) * 6(2 * 8)=(7 * 6 )(2 * 8)= 4216 Explanation: If the tens digit of the two numbers is … Continue reading Multiplying two numbers whose first figures are same and last figures add upto ten using Vedic Mathematics

Rate this: