题目 Say you have an array for which the ith element is the price of a given stock on day i. If you were only pe…
LeetCode ---169. Majority Element
题目 Given an array of size n, find the majority element. The majority element is the element that appears more …
LeetCode --- 717. 1-bit And 2-bit Characters
题目 We have two special characters. The first character can be represented by one bit 0. The second character c…
PyQt5实例(一)--- 数据库可视化操作
成品展示 实现步骤 设计界面 [crayon-5c6c31c3419ef565940964/] 然后为每个按钮关联相对应的事件 创建数据库按钮 [crayon-5c6c31c3419f4139430376/] 查看数据按…
解决pip安装第三方库出现run time out 现象
有时候下载Python的第三方库的时候,会经常性无法下载,如当初自己下载numpy,opencv-contrib-pyhon的时候,然后自己想到既然git可以走代理,那么pip可不可以,最后就找到了proxychains…
LeetCode --- 119. Pascal's Triangle II
题目 Example: [crayon-5c6c31c341d25051751815/] Follow up: Could you optimize your algorithm to use only O(k) ext…