leetcode-potd

726. Number of Atoms

leetcode-potd

Given a string formula representing a chemical formula, return the count of each atom. The atomic element always starts with an uppercase character, […]

2751. Robot Collisions

leetcode-potd

There are n 1-indexed robots, each having a position on a line, health, and movement direction. You are given 0-indexed integer arrays positions, healths, and a string directions (directions[i] is

91. Decode Ways

leetcode-potd

A message containing letters from A-Z can be encoded into numbers using the following mapping: ‘A’ -> “1” ‘B’ -> “2” … ‘Z’ ->

85. Maximal Rectangle

leetcode-potd

Given a rows x cols binary matrix filled with 0‘s and 1‘s, find the largest rectangle containing only 1‘s and return its area. Example 1: Input: matrix =

Scroll to Top