![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字符串
Wonz
后端 -> 全栈 -> 后端
技术很菜,但一直在学习。
「人们会被自己热爱的事物改变」
展开
-
LeetCode | 0647. Palindromic Substrings回文子串【Medium】【Python】【中心扩展】【动态规划】
LeetCode 0647. Palindromic Substrings回文子串【Medium】【Python】【中心扩展】【动态规划】原创 2020-08-21 16:39:34 · 269 阅读 · 0 评论 -
LeetCode | 1410. HTML Entity Parser HTML 实体解析器【Python】
LeetCode 1410. HTML Entity Parser HTML 实体解析器【Medium】【Python】【字符串】原创 2020-04-12 22:21:19 · 715 阅读 · 2 评论 -
LeetCode | 1408. String Matching in an Array数组中的字符串匹配【Python】
LeetCode 1408. String Matching in an Array数组中的字符串匹配【Easy】【Python】【字符串】原创 2020-04-12 21:23:24 · 798 阅读 · 0 评论 -
LeetCode | 0409. Longest Palindrome最长回文串【Python】
LeetCode 0409. Longest Palindrome最长回文串【Easy】【Python】【字符串】原创 2020-03-19 21:05:29 · 291 阅读 · 0 评论 -
LeetCode | 面试题05. 替换空格【剑指Offer】【Python】
LeetCode 面试题05. 替换空格【剑指Offer】【Easy】【Python】【字符串】 问题 力扣 请实现一个函数,把字符串 s 中的每个空格替换成"%20"。 示例 1: 输入:s = "We are happy." 输出:"We%20are%20happy." 限制: 0 <= s 的长度 <= 10000 思路 解法一 字符串遍历 时间复杂度: O(n),n 为字...原创 2020-03-17 22:38:21 · 311 阅读 · 0 评论 -
LeetCode | 1160. Find Words That Can Be Formed by Characters拼写单词【Python】
LeetCode 1160. Find Words That Can Be Formed by Characters拼写单词【Easy】【Python】【字符串】 Problem LeetCode You are given an array of strings words and a string chars. A string is good if it can be formed by...原创 2020-03-17 15:49:27 · 269 阅读 · 0 评论 -
LeetCode | 面试题 01.06. 字符串压缩【Python】
LeetCode 面试题 01.06. 字符串压缩【Easy】【Python】【双指针】原创 2020-03-16 22:36:21 · 499 阅读 · 0 评论 -
LeetCode | 1071. Greatest Common Divisor of Strings字符串的最大公因子【Python】
LeetCode 1071. Greatest Common Divisor of Strings字符串的最大公因子【Easy】【Python】【字符串】 Problem LeetCode For strings S and T, we say "T divides S" if and only if S = T + ... + T (T concatenated with itself 1 ...原创 2020-03-12 21:56:17 · 273 阅读 · 0 评论 -
笔试 | 东方财富 2020 春季校园招聘后端开发在线笔试【Python】【C++】【字符串】【动态规划】
东方财富 2020 春季校园招聘后端开发在线笔试【Python】【C++】【字符串】【动态规划】 一、单选题 一共有 256 个结点的二叉树高度最小是多少:8。 读程题,选出正确的程序输出结果。 不记得了。 二、不定项选择 哪些属于设计模式。 不记得了。 三、填空题 20*6 = 140 是几进制:八。 给定二叉树的前序和中序遍历,写出后序遍历。 305个同学,1-2 报数,去掉报 ...原创 2020-03-12 21:28:50 · 1613 阅读 · 5 评论 -
LeetCode | 1374. Generate a String With Characters That Have Odd Counts生成每种字符都是奇数个的字符串【Python】
LeetCode 1374. Generate a String With Characters That Have Odd Counts生成每种字符都是奇数个的字符串【Easy】【Python】【字符串】 Problem LeetCode Given an integer n, return a string with n characters such that each characte...原创 2020-03-08 15:31:41 · 492 阅读 · 0 评论 -
LeetCode | 1370. Increasing Decreasing String上升下降字符串【Python】
LeetCode 1370. Increasing Decreasing String上升下降字符串【Easy】【Python】【排序】 Problem LeetCode Given a string s. You should re-order the string using the following algorithm: Pick the smallest character fro...原创 2020-03-08 13:36:38 · 760 阅读 · 0 评论