430. Flatten a Multilevel Doubly Linked List

You are given a doubly linked list which in addition to the next and previous pointers, it could have a child pointer, which may or may not point

138. Copy List with Random Pointer

A linked list of length n is given such that each node contains an additional random pointer, which could point to any node in the list, or null.

328. Odd Even Linked List

Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list.

61. Rotate List

Given the head of a linked list, rotate the list to the right by k places.

2. Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers.

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,

Your browser is out-of-date!

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

×