Code Pumpkin

Tag Archives: Programming

Trapping Rain Water | Algorithm Problem

October 29, 2017
Posted by Pumpkin

In this article, we are going to solve the trapping water problem. This kind of problems are asked very frequently in interviews and online programming challenges. Problem Statement We need to find the maximum volume of water that can be stored in between buildings or bars as shown in the below image. Assume that width of each […]

Fibonacci search

October 8, 2017
Posted by Pumpkin

In this article, we will see one more searching algorithm Fibonacci search. This searching algorithm has some similarity with Binary Search that we have seen in our last article. Both of them works on sorted arrays. Fibonacci Search is a comparison-based technique that uses Fibonacci numbers to search an element in a sorted array. Fibonacci Search Definition […]

Total Posts : 90
Contribute Your Articles

Interview Experiences

Subscribe Us

Like Us On Facebook