Showing posts from June, 2019
Given a non-negative number n find the nth Fibonacci Number . The Fibonacci Sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ... The 0th number is 0. 1st number is 1. Therea…
Given a non-negative number n find its factorial without using Recursion . n! = 1 * 2 * 3 * 4 * ...... n-2 * n-1 * n Also, implement using a recursive method. Factorial can be recursively expr…
Lok Sabha 2019 results handing BJP and NDA a resounding victory could be a major Inflection Point in Indian National Politics mainly for two reasons. 1. This time the Indian electorate voted for …
The Eight Queens problem is the problem of placing eight queens on an 8×8 chessboard such that none of them attack one another (no two are in the same row, column, or diagonal). When the solve() m…
Mamata Banerjee's rallying cry of "Parivartan" (Change) stormed her into power as Chief Minister of West Bengal ousting the three decades of continuous misrule of the Left parties in …