摘要: 1. 题目 1.1 英文题目 Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted a 阅读全文
posted @ 2021-08-05 12:47 云梦士 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 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 l 阅读全文
posted @ 2021-08-04 12:15 云梦士 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 Given a string columnTitle that represents the column title as appear in an Excel sheet, return its corresponding column number. 1.2 中文 阅读全文
posted @ 2021-08-02 13:50 云梦士 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 Given an integer columnNumber, return its corresponding column title as it appears in an Excel sheet. 1.2 中文题目 给定一个正整数,返回它在 Excel 表中相对应 阅读全文
posted @ 2021-08-02 13:10 云梦士 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 Given a string s, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. 1.2 中文题目 给定一个字符串,验证它是否是 阅读全文
posted @ 2021-07-31 19:15 云梦士 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 Given two binary strings a and b, return their sum as a binary string. 1.2 中文题目 给定两个二进制字符串,返回他们的和(用二进制表示)。输入为非空字符串且只包含数字 1 和 0。 1.3输入输出 阅读全文
posted @ 2021-07-31 08:30 云梦士 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 Given a string s consists of some words separated by spaces, return the length of the last word in the string. If the last word does no 阅读全文
posted @ 2021-07-28 11:16 云梦士 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Clarificat 阅读全文
posted @ 2021-07-26 09:32 云梦士 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input strin 阅读全文
posted @ 2021-07-21 20:52 云梦士 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 1.1 英文题目 Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty st 阅读全文
posted @ 2021-07-21 16:12 云梦士 阅读(124) 评论(0) 推荐(0) 编辑