What is C language? Why C is called mother language?
Hello Developers, In this article, I have explained why it's a good choice to learn C language and also many things regarding it. Firstly, we will learn, What is C language? Why do we learn C language? I have also explained some important features of it which played an important role in calling C as […]
Program to check if given string is palindrome or not
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
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
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 […]