This article is all about taking…
I know that the title might sound a bit weird, but that is what actually happened. In May 2020, I had written a tech blog on the topic Angular Google Maps on Medium. You might think that the article received a lot of claps and became super damn popular. …
I was recently working on building a feature similar to calendly by myself. In order to implement that, I wanted a base calendar component and I decided to go with the mat-calendar component provided by Angular. Surprisingly, I couldn’t find much good documentation about the same. …
This article demonstrates how to use Angular Google Maps component to construct a polygonal region and compute its area.
Problem: Implement two methods on a BST:
1. next()- returns the next minimum value
2. hasNext() — returns whether next minimum exists
Time and Space constraints:
hasNext() should run in average
O(h) memory, where
h is the height of the tree.