354. Russian Doll Envelopes

You are given a 2D array of integers envelopes where envelopes[i] = [wi, hi]

971. Flip Binary Tree To Match Preorder Traversal

You are given the root of a binary tree with n nodes, where each node is uniquely assigned a value from 1 to n.

423. Reconstruct Original Digits from English

Given a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order.

647. Palindromic Substrings

Given a string, your task is to count how many palindromic substrings in this string.

916. Word Subsets

We are given two arrays A and B of words. Each word is a string of lowercase letters.

417. Pacific Atlantic Water Flow

Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent,

cs61b-3

Ad Hoc Testing

unstructed testing type, also called random testing

870. Advantage Shuffle

Given two arrays A and B of equal size, the advantage of A with respect to B is the number of indices i for which A[i] > B[i].

923. 3Sum With Multiplicity

Given an integer array arr, and an integer target, return the number of tuples i, j, k such that i < j < k and arr[i] + arr[j] + arr[k] == target.

966. Vowel Spellchecker

Given a wordlist, we want to implement a spellchecker that converts a query word into a correct word.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×