234. Palindrome Linked List

Given the head of a singly linked list, return true if it is a palindrome.

21. Merge Two Sorted Lists

Merge two sorted linked lists and return it as a sorted list. The list should be made by splicing together the nodes of the first two lists.

203. Remove Linked List Elements

Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val == val, and return the new head.

206. Reverse Linked List

Given the head of a singly linked list, reverse the list, and return the reversed list.

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.

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

×