摘要: LeetCode 0455. Assign Cookies分发饼干【Easy】【Python】【贪心】 Problem "LeetCode" Assume you are an awesome parent and want to give your children some cookies. B 阅读全文
posted @ 2020-02-15 20:05 Wonz 阅读(159) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0075. Sort Colors颜色分类【Medium】【Python】【荷兰旗】 Problem "LeetCode" Given an array with n objects colored red, white or blue, sort them in place so 阅读全文
posted @ 2020-02-15 19:31 Wonz 阅读(146) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0451. Sort Characters By Frequency根据字符出现频率排序【Medium】【Python】【桶排序】 Problem "LeetCode" Given a string, sort it in decreasing order based on the 阅读全文
posted @ 2020-02-15 16:39 Wonz 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 大三课程设计周自己一个人写的迷宫小游戏 (一)课题内容 实现走迷宫。 主要功能为界面显示、上下左右键的响应以及当前步数统计。 通过该课题全面熟悉数组、字符串等的使用,掌握程序设计的基本方法及友好界面的设计。 (二)课题要求 1. 基本要求 (1)游戏界面显示:迷宫地图、上下左右移动的特效。 (2)动 阅读全文
posted @ 2020-02-15 14:38 Wonz 阅读(1416) 评论(0) 推荐(1) 编辑
摘要: Requirement already satisfied 解决方法 问题 今天安装 的时候遇到了这个问题: 解决方法 对于这样的问题,只需指定安装路径即可。就按照报错最后的路径安装就行。 指定安装路径的命令行: 比如我的就是: 可以看到, 成功安装好了。 致谢 "Requirement alrea 阅读全文
posted @ 2020-02-15 13:27 Wonz 阅读(57880) 评论(0) 推荐(2) 编辑
摘要: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available 解决方法 问题 今天在安装 的时候,发现照着之前自己写的 "教程" 出现了问题。 解决方法 阅读全文
posted @ 2020-02-15 12:50 Wonz 阅读(2332) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0347. Top K Frequent Elements前 K 个高频元素【Medium】【Python】【桶排序】 Problem "LeetCode" Given a non empty array of integers, return the k most frequen 阅读全文
posted @ 2020-02-14 22:45 Wonz 阅读(260) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0215. Kth Largest Element in an Array数组中的第K个最大元素【Medium】【Python】【快排】【堆】 Problem "LeetCode" Find the k th largest element in an unsorted array 阅读全文
posted @ 2020-02-14 21:32 Wonz 阅读(170) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0524. Longest Word in Dictionary through Deleting通过删除字母匹配到字典里最长单词【Medium】【Python】【双指针】 题目 "英文题目地址" Given a string and a string dictionary, fi 阅读全文
posted @ 2020-02-14 16:28 Wonz 阅读(284) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0141. Linked List Cycle环形链表【Easy】【Python】【双指针】 题目 "英文题目地址" Given a linked list, determine if it has a cycle in it. To represent a cycle in th 阅读全文
posted @ 2020-02-13 11:40 Wonz 阅读(125) 评论(0) 推荐(0) 编辑