Valid Parentheses | Leetcode 20 Solution

Introduction The “Valid Parentheses” problem (Leetcode 20) is a popular question often asked in coding interviews. The task is to check if a given string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’ is valid. An input string is valid if the brackets are correctly closed and nested. In this blog post, … Read more

Master Binary Search Algorithm- Why and How | Implementation

Binary Search Algorithm

In the previous article , we learnt about the searching algorithms and two types of searching algorithms. We learnt about Linear Search algorithm. In this article, we will learn about another important searching algorithm called Binary Search algorithm. About Binary Search Algorithm Binary search is an efficient algorithm designed to locate a specific value within … Read more