Given a linked list, reverse the nodes of a linked list k at a time and return its modi...
Given a linked list, reverse the nodes of a linked list k at a time and return its modi...
Reverse a singly linked list. Example: Follow up: A linked list can be reversed either ...
Given an unsorted integer array, find the smallest missing positive integer. Example 1:...
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its ...
Find the contiguous subarray within an array (containing at least one number) which has...
Write a function to delete a node (except the tail) in a singly linked list, given only...
Given a sorted array and a target value, return the index if the target is found. If no...
Given an array of integers, every element appears twice except for one. Find that singl...
Given an array and a value, remove all instances of that value in-place and return the ...
Given a sorted array, remove the duplicates in-place such that each element appear only...
Invert a binary tree. to And an iterative version using my own stack: Complexity Analys...
You are given two non-empty linked lists representing two non-negative integers. The di...
Given an array of integers, return indices of the two numbers such that they add up to ...
「简书」作为一款「写作软件」在诞生之初就支持了 Markdown,Markdown 是一种「电子邮件」风格的「标记语言」,我们强烈推荐所有写作者学习和掌握该语言。为什么?可以...