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. Nope, that is not how it turned out.

Well, I received a few claps and responses. Not too bad for a beginner, I would say. The responses I got were mostly enhancement requests to the feature I had explained in the article. …

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. So like every other developer, I had to go through several stack overflow links and other materials to get my task done.

In this article, you will find all the customizations which I tried out on the component. …

This is the first article in the series: Fundamental Concepts in System Design.

The Problem

Suppose you decided to make a web application based on your million dollar idea. You managed to get a server to host your web application. Fortunately, the application started gaining a lot of popularity and attracted a lot of users.

Even though the above story looks happy, there is a serious consequence to that, if not properly handled. To help you understand better, consider the server to be a human(let’s say X) and the purpose of the application, to tell whether a given number is even or…

This article demonstrates how to use Angular Google Maps component to construct a polygonal region and compute its area.

1. Create an API Key for your application

In order to use the Maps JavaScript API in your application, you need to generate an API Key. API key is a unique identifier that is used to authenticate requests associated with the application.

Follow the steps mentioned here for getting an API Key:

2. Create an Angular application and install the dependencies

ng new agm-example
npm install @agm/core
ng add @angular/material //optional

3. Add import statements for AgmCoreModule in app.module.ts

import { AgmCoreModule } from '@agm/core';

Also, add it to the imports array along with the API Key you generated for the application.

apiKey: <YOUR_API_KEY>…

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:
1. next() and hasNext() should run in average O(1) time
2. Use
O(h) memory, where h is the height of the tree.

Before we start off with solving the problem, let me give you some introduction to the keywords mentioned in the problem.

Amortized Time Complexity:

Amortized time complexity is used when an algorithm has an expensive operation only once in a while.
Let T1, T2, …, Tk be the complexities of a sequence of operations on a…

Maria Zacharia

Co-Founder & CTO at Hire the Author. Want to have a 1–1 with me? Reach out to me at https://hiretheauthor.com/maria

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store