首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
LeetCode
dsyislearning
创建于2022-09-12
订阅专栏
做题记录
暂无订阅
共58篇文章
创建于2022-09-12
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
20221006 - 927. Three Equal Parts 三等分(三指针)
You are given an array arr which consists of only zeros and ones, divide the array into three non-em
20221005 - 811. Subdomain Visit Count 子域名访问计数(字典)
A website domain "discuss.leetcode.com" consists of various subdomains. At the top level, we have "c
20221004 - 921. Minimum Add to Make Parentheses Valid 使括号有效的最少添加(贪心)
A parentheses string is valid if and only if: It is the empty string, It can be written as AB (A con
20221003 - 1784. Check if Binary String Has at Most One Segment of Ones 检查二进制字符串
Given a binary string s without leading zeros, return true if s contains at most one contiguous segm
20221002 - 777. Swap Adjacent in LR String 在LR字符串中交换相邻字符(双指针)
In a string composed of 'L', 'R', and 'X' characters, like "RXXLRXRXL", a move consists of either re
20221001 - 1694. Reformat Phone Number 重新格式化电话号码(字符串)
You are given a phone number as a string number. number consists of digits, spaces ' ', and/or dashe
20220927 - 88. Merge Sorted Array 合并两个有序数组(普通插入)
You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m
20220927 - 面试题 01.02. Check Permutation LCCI 判定是否互为字符重排(哈希表)
Given two strings,write a method to decide if one is a permutation of the other. Example 1 Example 2
20220926 - 53. Maximum Subarray 最大子数组和(在线处理)
Given an integer array nums, find the contiguous subarray (containing at least one number) which has
20220926 - 217. Contains Duplicate 存在重复元素(手写哈希表)
Given an integer array nums, return true if any value appears at least twice in the array, and retur
20220926 - 141. Linked List Cycle 环形链表(快慢指针)
Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cy
20220924 - 143. Reorder List 重排链表
You are given the head of a singly linked-list. The list can be represented as: Reorder the list to
20220924 - 206. Reverse Linked List 反转链表
Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: E
20220924 - 876. Middle of the Linked List 链表的中间结点(快慢指针)
Given the head of a singly linked list, return the middle node of the linked list. If there are two
20220924 - 24. Swap Nodes in Pairs 两两交换链表中的节点
Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem w
20220923 - 83. Remove Duplicates from Sorted List 删除排序链表中的重复元素
Given the head of a sorted linked list, delete all duplicates such that each element appears only on
20220923 - 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
20220912 - 136. Single Number 位运算
Given a non-empty array of integers nums, every element appears twice except for one. Find that sing