摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Count and Say The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) 3. Longest Substrleftng Without Repeating Characters Given a string, find the length of the longest substring wi 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) 242. Valid Anagram (变位词) Given two strings s and t , write a function to determine if t is an anagram of s. Exam 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Longest Palindromic Substring Given a string s, find the longest palindromic substring in s. You may assume that 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Valid Parentheses Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if th 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Valid Palindrome Given a string, determine if it is a palindrome, consider 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Longest Common Prefix Write a function to find the longest common prefix string amongst an array of strings. If 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) 38 字符串的排列(全排列问题) 题目描述 输入一个字符串,按字典序打印出该字符串中字符的所有排列。例如输入字符串abc,则打印出由字符a,b,c所能排列出来的所有字符串abc,acb,bac,bca,cab和cba。 输入 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Implement strStr() Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if 阅读全文
摘要:
【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) String to Integer (atoi) Implement atoi which converts a string to an integer. The function first discards as ma 阅读全文