1801. Number of Orders in the Backlog

Problem description:

You are given a 2D integer array orders, where each orders[i] = [pricei, amounti, orderTypei] denotes that $amount_i$ orders have been placed of type $orderType_i$ at the price $price_i$. The $orderType_i$ is:

Readmore

824. Goat Latin

Problem description:

A sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only.

Readmore

1103. Distribute Candies to People

Problem description:

We distribute some number of candies, to a row of n = num_people people in the following way:

Readmore

435. Non-overlapping Intervals

Problem description:

Given a collection of intervals, find the minimum number of intervals you need to remove to make the rest of the intervals non-overlapping.

Readmore

409. Longest Palindrome

Problem description:

Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters.

Readmore

1286. Iterator for Combination

Problem description:

Design an Iterator class, which has:

Readmore

274. H-Index

Problem description:

Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher’s h-index.

Readmore

171. Excel Sheet Column Number

Problem description:

Given a column title as appear in an Excel sheet, return its corresponding column number.

Readmore

994. Rotting Oranges

Problem description:

In a given grid, each cell can have one of three values:

Readmore

987. Vertical Order Traversal of a Binary Tree

Problem description:

Given a binary tree, return the vertical order traversal of its nodes values.

Readmore