Code Pumpkin

Tag Archives: Programming

Program to check if given string is palindrome or not

August 29, 2018
Posted by Suyash Purwar

Introduction In this series, I will publish lots of puzzles in JavaScript. I will provide multiple solutions for a program so that you can have a better understanding of the problem and solution. These types of questions are many times asked in interviews, so a good understanding of these type of puzzles might benefit you. I must […]

Trapping Rain Water | Algorithm Problem

October 29, 2017
Posted by Dipen Adroja

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 Dipen Adroja

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 : 105
follow us in feedly
Contribute Your Articles

Subscribe Us

Like Us On Facebook