322. Coin Change

You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that

12. Integer to Roman

Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.

623. Add One Row to Tree

Given the root of a binary tree, then value v and depth d, you need to add a row of nodes with value v at the given depth d. The root node is at depth 1.

1332. Remove Palindromic Subsequences

Given a string s consisting only of letters ‘a’ and ‘b’. In a single step you can remove one palindromic subsequence from s.

706. Design HashMap

Design a HashMap without using any built-in hash table libraries.

820. Short Encoding of Words

A valid encoding of an array of words is any reference string s and array of indices indices such that:

637. Average of Levels in Binary Tree

Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array.

28. Implement strStr()

Implement strStr().

Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.

160. Intersection of Two Linked Lists

Write a program to find the node at which the intersection of two singly linked lists begins.

27. Remove Element

Given an array nums and a value val, remove all instances of that value in-place and return the new length.

Your browser is out-of-date!

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

×