Blogs

2476. Closest Nodes Queries in a Binary Search Tree | Leetcode Accepted Solution

2476. Closest Nodes Queries in a Binary Search Tree | Leetcode Accepted Solution

LeetCode Question – Understanding the question – Let’s understand the question with some simple examples before we proceed with the code. You may skip this section if you already do – Before we begin, let’s break down the question. The question states that we will be passed a “Binary Tree” and an “answer array“. Let’s…

Why you shouldn’t use google to convert heights and how you can fix it.

Why you shouldn’t use google to convert heights and how you can fix it.

Explanation If you’re trying to convert feet & inches to centimeters or vice versa using google’s “ft to cm” converter, then you should probably stop since it was never meant to convert “feet & inches to centimeters” or “centimeters to feet & inches”. In this blog, I will be providing fixes for people trying to…