# Leetcode 2086: Minimum Number of Buckets Required to Collect Rainwater from Houses

In this problem, we are given a String representing a street with houses and empty spaces. To collect water from the houses, each house must have a bucket placed next to it. We need to return the minimum amount of buckets to do that.

You are given a 0-indexed string…

# Leetcode 2085: Count Common Words With One Occurrence

In this Leetcode problem, we want to know which word occurs exactly once in each of the 2 lists of words provided.

Given two string arrays and , return the number of strings that appear exactly once in each of the two arrays.

These are the couple of examples…

# Leetcode 2092: Find All People With Secret

In this problem, we are given a set of persons and meetings between people at fixed time, some people know a secret and they are revealing it at each of their meeting. When a person knows a secret, they will reveal it at each of their subsequent meetings. …

# Leetcode 2091: Removing Minimum and Maximum From Array

In this leetcode problem, we are asked to calculate the minimum amounts of “deletions” to remove the max and the min from an array.

You are given a 0-indexed array of distinct integers .

There is an element in that has the lowest value and an element that has…

# Introduction

The long multiplication is a computational problem in which we want to multiply 2 very large integers, that potentially have hundreds or thousands of digits. …

# The case for PGNY at \$150

As of Wednesday, November 3rd, 2021, PGNY trade around \$60. However, I believe that in the next couple of years it should be valued at a minimum of \$150 per share. I am trying to make the bullish case for it.

## Population / Potential customers

There are a few macro-tendencies at play here. More…

As the covid-19 pandemic fades in the US, many companies are preparing their employees to return to the office. …

# Leetcode 1793: Maximum Score of a Good Subarray

In this problem, we are trying to optimize the “score” of “good subarrays defined this way:

You are given an array of integers (0-indexed) and an integer .

The score of a subarray is defined as . …

# Leetcode 1791: Find center of Star Graph

In this Leetcode problem, we are given a list of edges representing a star graph. A star graph is a graph where all the edges contain the “center” node. This is the problem statement:

There is an undirected star graph consisting of nodes labeled from to . A…

## Pierre-Marie Poitevin

Get the Medium app