02 2020 档案

摘要:LeetCode 0417. Pacific Atlantic Water Flow太平洋大西洋水流问题【Medium】【Python】【DFS】 Problem "LeetCode" Given an matrix of non negative integers representing the 阅读全文
posted @ 2020-02-29 18:47 Wonz 阅读(215) 评论(0) 推荐(0)
摘要:LeetCode 0130. Surrounded Regions被围绕的区域【Medium】【Python】【DFS】 Problem "LeetCode" Given a 2D board containing and ( the letter O ), capture all regions 阅读全文
posted @ 2020-02-29 15:32 Wonz 阅读(194) 评论(0) 推荐(0)
摘要:LeetCode 0547. Friend Circles朋友圈【Medium】【Python】【DFS】 Problem "LeetCode" There are N students in a class. Some of them are friends, while some are not 阅读全文
posted @ 2020-02-29 14:40 Wonz 阅读(255) 评论(0) 推荐(0)
摘要:LeetCode 0200. Number of Islands岛屿数量【Medium】【Python】【DFS】 Problem "LeetCode" Given a 2d grid map of s (land) and s (water), count the number of island 阅读全文
posted @ 2020-02-28 23:27 Wonz 阅读(265) 评论(0) 推荐(0)
摘要:LeetCode 0695. Max Area of Island【Medium】【Python】【DFS】 Problem "LeetCode" Given a non empty 2D array of 0's and 1's, an island is a group of 's (repre 阅读全文
posted @ 2020-02-28 22:52 Wonz 阅读(124) 评论(0) 推荐(0)
摘要:LeetCode 0127. Word Ladder单词接龙【Medium】【Python】【BFS】 Problem "LeetCode" Given two words ( beginWord and endWord ), and a dictionary's word list, find t 阅读全文
posted @ 2020-02-28 22:09 Wonz 阅读(202) 评论(0) 推荐(0)
摘要:LeetCode 0279. Perfect Squares完全平方数【Medium】【Python】【BFS】 Problem "LeetCode" Given a positive integer n , find the least number of perfect square numbe 阅读全文
posted @ 2020-02-26 23:01 Wonz 阅读(330) 评论(0) 推荐(0)
摘要:LeetCode 1091. Shortest Path in Binary Matrix二进制矩阵中的最短路径【Medium】【Python】【BFS】 Problem "LeetCode" In an N by N square grid, each cell is either empty ( 阅读全文
posted @ 2020-02-26 21:40 Wonz 阅读(461) 评论(0) 推荐(0)
摘要:LeetCode 0095. Unique Binary Search Trees II不同的二叉搜索树 II【Medium】【Python】【分治】【DFS】 Problem "LeetCode" Given an integer n , generate all structurally uni 阅读全文
posted @ 2020-02-26 15:32 Wonz 阅读(115) 评论(0) 推荐(0)
摘要:LeetCode 0241. Different Ways to Add Parentheses为运算表达式设计优先级【Medium】【Python】【分治】 Problem "LeetCode" Given a string of numbers and operators, return all 阅读全文
posted @ 2020-02-25 14:20 Wonz 阅读(140) 评论(0) 推荐(0)
摘要:LeetCode 1362. Closest Divisors最接近的因数【Medium】【Python】【数学】 Problem "LeetCode" Given an integer , find the closest two integers in absolute difference w 阅读全文
posted @ 2020-02-23 18:28 Wonz 阅读(230) 评论(2) 推荐(0)
摘要:LeetCode 1360. Number of Days Between Two Dates日期之间隔几天【Easy】【Python】【数学】 Problem "LeetCode" Write a program to count the number of days between two da 阅读全文
posted @ 2020-02-23 16:59 Wonz 阅读(296) 评论(0) 推荐(0)
摘要:LeetCode 1358. Number of Substrings Containing All Three Characters包含所有三种字符的子字符串数目【Medium】【Python】【双指针】【滑窗】 Problem "LeetCode" Given a string consisti 阅读全文
posted @ 2020-02-23 10:30 Wonz 阅读(299) 评论(0) 推荐(0)
摘要:LeetCode 0034. Find First and Last Position of Element in Sorted Array在排序数组中查找元素的第一个和最后一个位置【Medium】【Python】【二分】 Problem "LeetCode" Given an array of i 阅读全文
posted @ 2020-02-23 09:08 Wonz 阅读(564) 评论(0) 推荐(0)
摘要:LeetCode 0153. Find Minimum in Rotated Sorted Array寻找旋转排序数组中的最小值【Medium】【Python】【二分】 Problem "LeetCode" Suppose an array sorted in ascending order is 阅读全文
posted @ 2020-02-22 21:57 Wonz 阅读(160) 评论(0) 推荐(0)
摘要:LeetCode 0278. First Bad Version第一个错误的版本【Easy】【Python】【二分】 Problem "LeetCode" You are a product manager and currently leading a team to develop a new 阅读全文
posted @ 2020-02-22 21:01 Wonz 阅读(181) 评论(0) 推荐(0)
摘要:LeetCode 0540. Single Element in a Sorted Array有序数组中的单一元素【Medium】【Python】【二分】 Problem "LeetCode" You are given a sorted array consisting of only integ 阅读全文
posted @ 2020-02-22 20:09 Wonz 阅读(147) 评论(0) 推荐(0)
摘要:LeetCode 0744. Find Smallest Letter Greater Than Target寻找比目标字母大的最小字母【Easy】【Python】【二分】 Problem "LeetCode" Given a list of sorted characters containing 阅读全文
posted @ 2020-02-22 16:54 Wonz 阅读(136) 评论(0) 推荐(0)
摘要:LeetCode 0069. Sqrt(x) x 的平方根【Easy】【Python】【二分】 Problem "LeetCode" Implement . Compute and return the square root of x , where x is guaranteed to be a 阅读全文
posted @ 2020-02-22 16:08 Wonz 阅读(197) 评论(0) 推荐(0)
摘要:LeetCode 0053. Maximum Subarray最大子序和【Easy】【Python】【动态规划】 Problem "LeetCode" Given an integer array , find the contiguous subarray (containing at least 阅读全文
posted @ 2020-02-21 16:36 Wonz 阅读(127) 评论(0) 推荐(0)
摘要:LeetCode 0665. Non decreasing Array非递减数列【Easy】【Python】【贪心】 Problem "LeetCode" Given an array with integers, your task is to check if it could become n 阅读全文
posted @ 2020-02-20 15:11 Wonz 阅读(269) 评论(0) 推荐(0)
摘要:LeetCode 0392. Is Subsequence判断子序列【Easy】【Python】【双指针】 Problem "LeetCode" Given a string s and a string t , check if s is subsequence of t . You may as 阅读全文
posted @ 2020-02-20 12:39 Wonz 阅读(213) 评论(0) 推荐(0)
摘要:LeetCode 0605. Can Place Flowers种花问题【Easy】【Python】【贪心】 Problem "LeetCode" Suppose you have a long flowerbed in which some of the plots are planted and 阅读全文
posted @ 2020-02-20 10:55 Wonz 阅读(212) 评论(0) 推荐(0)
摘要:LeetCode 0122. Best Time to Buy and Sell Stock II买卖股票的最佳时机 II【Easy】【Python】【贪心】【动态规划】 Problem "LeetCode" Say you have an array for which the i th elem 阅读全文
posted @ 2020-02-20 09:48 Wonz 阅读(114) 评论(0) 推荐(0)
摘要:LeetCode 0121. Best Time to Buy and Sell Stock买卖股票的最佳时机【Easy】【Python】【贪心】【动态规划】 Problem "LeetCode" Say you have an array for which the i th element is 阅读全文
posted @ 2020-02-19 22:59 Wonz 阅读(123) 评论(0) 推荐(0)
摘要:"华为研发工程师编程题" 【C++】【Python】【数学】【数组】【字符串】 问题1 有这样一道智力题:“某商店规定:三个空汽水瓶可以换一瓶汽水。小张手上有十个空汽水瓶,她最多可以换多少瓶汽水喝?”答案是5瓶,方法如下:先用9个空瓶子换3瓶汽水,喝掉3瓶满的,喝完以后4个空瓶子,用3个再换一瓶,喝 阅读全文
posted @ 2020-02-17 21:17 Wonz 阅读(302) 评论(0) 推荐(0)
摘要:LeetCode 0406. Queue Reconstruction by Height根据身高重建队列【Medium】【Python】【贪心】 Problem "LeetCode" Suppose you have a random list of people standing in a qu 阅读全文
posted @ 2020-02-16 22:08 Wonz 阅读(160) 评论(0) 推荐(0)
摘要:LeetCode 0435. Non overlapping Intervals无重叠区间【Medium】【Python】【区间贪心】 Problem "LeetCode" Given a collection of intervals, find the minimum number of int 阅读全文
posted @ 2020-02-16 20:57 Wonz 阅读(256) 评论(0) 推荐(0)
摘要:LeetCode 0452. Minimum Number of Arrows to Burst Balloons用最少数量的箭引爆气球【Medium】【Python】【区间贪心】 Problem "LeetCode" There are a number of spherical balloons 阅读全文
posted @ 2020-02-16 20:07 Wonz 阅读(145) 评论(0) 推荐(0)
摘要:如何在家优雅地使用 免费下载外文文献 一、使用 URL 下载 你可以到 "sci hub" 这个网站 搜索你要的外文文献,比如我搜了下:recommender system,选择其中一篇文献打开 找到该文献的 URL,复制 然后再到这个 "网站" ,粘贴复制的 URL,点击 然后会跳出一个页面,要输 阅读全文
posted @ 2020-02-15 22:01 Wonz 阅读(1260) 评论(0) 推荐(0)
摘要: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 阅读(181) 评论(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 阅读(162) 评论(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 阅读(382) 评论(0) 推荐(0)
摘要:大三课程设计周自己一个人写的迷宫小游戏 (一)课题内容 实现走迷宫。 主要功能为界面显示、上下左右键的响应以及当前步数统计。 通过该课题全面熟悉数组、字符串等的使用,掌握程序设计的基本方法及友好界面的设计。 (二)课题要求 1. 基本要求 (1)游戏界面显示:迷宫地图、上下左右移动的特效。 (2)动 阅读全文
posted @ 2020-02-15 14:38 Wonz 阅读(1544) 评论(0) 推荐(1)
摘要:Requirement already satisfied 解决方法 问题 今天安装 的时候遇到了这个问题: 解决方法 对于这样的问题,只需指定安装路径即可。就按照报错最后的路径安装就行。 指定安装路径的命令行: 比如我的就是: 可以看到, 成功安装好了。 致谢 "Requirement alrea 阅读全文
posted @ 2020-02-15 13:27 Wonz 阅读(59062) 评论(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 阅读(2599) 评论(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 阅读(363) 评论(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 阅读(185) 评论(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 阅读(296) 评论(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 阅读(132) 评论(0) 推荐(0)
摘要:LeetCode 0088. Merge Sorted Array合并两个有序数组【Easy】【Python】【双指针】 题目 "英文题目链接" Given two sorted integer arrays nums1 and nums2 , merge nums2 into nums1 as o 阅读全文
posted @ 2020-02-12 23:09 Wonz 阅读(168) 评论(0) 推荐(0)
摘要:LeetCode 0680. Valid Palindrome II验证回文字符串 Ⅱ【Easy】【Python】【双指针】 题目 "英文题目链接" Given a non empty string , you may delete at most one character. Judge whet 阅读全文
posted @ 2020-02-12 20:11 Wonz 阅读(138) 评论(0) 推荐(0)
摘要:GitHub Desktop tutorial 一、前期准备 下载安装 GitHub Windows 客户端, "链接在这里" 。 二、登录账号 在客户端登录自己的 GitHub 账号。 三、选择要上传的 repository 进行 Clone 比如我 了 。 然后选择 进行 。 进入主界面。 四、 阅读全文
posted @ 2020-02-12 12:55 Wonz 阅读(571) 评论(0) 推荐(0)
摘要:LeetCode 0633. Sum of Square Numbers平方数之和【Easy】【Python】【双指针】 题目 "英文题目链接" Given a non negative integer , your task is to decide whether there're two in 阅读全文
posted @ 2020-02-12 10:55 Wonz 阅读(202) 评论(0) 推荐(0)
摘要:LeetCode 0167. Two Sum II Input array is sorted两数之和 II 输入有序数组【Easy】【Python】【双指针】 题目 "英文题目链接" Given an array of integers that is already sorted in asce 阅读全文
posted @ 2020-02-11 23:22 Wonz 阅读(140) 评论(0) 推荐(0)
摘要:LeetCode 0345. Reverse Vowels of a String反转字符串中的元音字母【Easy】【Python】【双指针】 题目 "英文题目链接" Write a function that takes a string as input and reverse only the 阅读全文
posted @ 2020-02-11 21:03 Wonz 阅读(185) 评论(0) 推荐(0)
摘要:回忆自己考过的期末考试。 "南邮《数据结构A》2017/2018学年第二学期期末考试回忆" "南邮《微型计算机原理与接口技术》2017/2018学年第二学期期末考试回忆" "南邮《汇编语言程序设计》2018/2019 学年第一学期期末考试回忆" "南邮《操作系统A》2018 2019学年第一学期期末 阅读全文
posted @ 2020-02-10 15:48 Wonz 阅读(1132) 评论(0) 推荐(0)
摘要:个人在 51CTO 上学习鲍松山老师的 整理的笔记目录。 "C++ 学习笔记(0)C与C++的区别" "C++ 学习笔记(1)C++四大特性" "C++ 学习笔记(2)初识类与对象,类的定义与对象的和创建" "C++ 学习笔记(3)this指针" "C++ 学习笔记(4)构造函数和析构函数" "C+ 阅读全文
posted @ 2020-02-10 15:40 Wonz 阅读(239) 评论(1) 推荐(0)
摘要:基于 OpenGL 3.3 从零开始的计算机图形学目录 学习笔记 "图形学笔记(一)创建窗口" "图形学笔记(二)画一个三角形" "图形学笔记(三)画一个彩色的三角形" "图形学笔记(四)画一个黑色的矩形框" "图形学笔记(五)给矩形框加上纹理" "图形学笔记(六)画一个 3D 的会动的矩形" "图 阅读全文
posted @ 2020-02-10 15:26 Wonz 阅读(588) 评论(0) 推荐(0)
摘要:南邮实验报告目录 南邮各种学科编程类实验程序 数据结构 "南邮数据结构实验1.1:顺序表的相关操作" "南邮数据结构实验1.2:带表头结点单链表的相关操作" "南邮数据结构实验1.3:带表头结点单链表的逆置" "南邮数据结构实验1.4:带表头结点单链表的非递减排序" "南邮数据结构实验1.5:一元多 阅读全文
posted @ 2020-02-10 15:12 Wonz 阅读(4764) 评论(0) 推荐(0)
摘要:写在前面 2019.12.21 12.22 2020全国硕士研究生招生考试初试已经结束,总觉得应该写点什么。 关于考研的初衷 记得之前在 上找资料的时候偶然发现了一篇 的经验贴,对这位学长关于考研初衷的想法非常有感触。 的确,大学已经三年半了,我还是会想起高考。但也没有刚开始那么在意了,毕竟过去的就 阅读全文
posted @ 2020-02-09 20:19 Wonz 阅读(3183) 评论(9) 推荐(2)