Here is the link to the problem. See the problem description. We have to check the given array is monotonic or not. What is a monotonic array? “An array is monotonic if it is either monotone increasing or monotone decreasing.” line quoted from the problem description. The formula is:For checking increasing monotone of the given […]

## Duplicate Emails | LeetCode 182 | SQL | Solution

This one is a simple SQL problem. Here is the link to this problem. This one is an absolute beginner type problem. We have to query all the duplicates emails from the given table. The name of the table is Person. The code is almost self-explanatory. All SQL keywords are written in uppercase letters. It’s […]

## .some() and .every() method in JavaScript

If you know the basics of JavaScript, I can assume that you are familiar with JavaScript’s array. The array is a Data Structure to store more than one value. JavaScript has so many useful built-in array methods. Some methods we use frequently. Such as forEach, map, filter, etc. You may be familiar already. In this […]

## 2021 will be an awesome year

Already some days of the new year have passed. Sometimes a year seems like too much time, and sometimes it seems very short. But we can do so many things if we utilize a year properly. For that, we must have to be consistent. A year is enough time to see improvements in ourselves. I […]

## Linked List | Data Structure

In computer science, Linked List is a basic and linear type data structure like Array. Both are used to store a collection of elements. But there is a difference between Array and Linked List. But In this article, I will write all about Linked List. You can read my article about the Array if you […]

## Insert and Delete Operation in Binary Search Tree | Code Snippet | Python

This post is all about code. We will see the implementation of insertion and deletion in the Binary Search Tree. I will try to write details about these topics soon. TreeNode Insert Delete

## Contains Duplicate | LeetCode 217 | Python | Solution

Click here to see the problem details. The problem is simple. We have to find at least one duplicate in the given array. If we found any duplicate number, we will return True. Otherwise, we will return False. That’s the simple idea about the problem. And given array’s elements will be integers. Let’s see two […]

## Reverse String | LeetCode 344 | Python | Solution

Click here to see the problem. And read the description and try to understand the problem first. Reverse String is one of the most common problems in computer programming. And this time, the input string is given as an array of characters. We have to return the reverse version of the given array. See the […]

## Largest Number At Least Twice of Others | LeetCode 747 | Python | Solution

Click here to see the problem in LeetCode. And read the problem’s details. This one is a pretty simple problem. We will be given an integer array. We have to find the largest element’s index, which is must be at least twice as much as every other number in the array. If it’s not matched […]

## 51st Blog Post

I published my 50th blog post on this site. This post is all about my blog journey. Though I am not an expert, and my journey is not so long. It will be around one year. I started this website for myself. I always want to know more about technology and improve myself. And I […]