Programming Problems - Pascal Triangle

In mathematics, Pascal's Triangle is a triangular array of binomial coefficients. This exercise is the same as the previous exercise. Deliberately did not use the name Pascal's Triangle a…

Programming Problems - Number Pattern

Observe the pattern of numbers given below.       1      1 1     1 2 1    1 3 3 1   1 4 6 4 1  1 5 10 10 5 1 1 6 15 20 15 6 1 The pattern has the following properties. Assuming that th…

Programming Problems - Max Subsequence Sum

Maximum Subsequence Sum is one of the classic problems found in the Data Structures & Algorithms books. Given a one dimensional array of integers, the task is to find a contiguous subarray wit…

Programming Problems - Fibonacci Numbers

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…

Programming Problems - Factorial

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…

Inflection Point in Indian National Politics

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 …

Programming Problems - Eight Queens

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…
Newest Older
Subscribe through Email