- 博客(56)
- 资源 (4)
- 收藏
- 关注
原创 HttpWebRequest访问https请求被中止: 未能创建 SSL/TLS 安全通道
C# HttpWebRequest:未能创建SSL/TLS 安全通道
2024-08-22 11:28:30 444
原创 多向思考者--高敏感人群的内心世界
如果你也是“高敏感人群”,现在有些焦虑或者自卑,可以抽空看看这本书,跟着书一起和自己对话,或许能对你有些帮助。分享给需要的人。
2022-11-18 10:51:26 2092
原创 2021年3月刷题(下) Spiral Matrix,Merge Interval
题目都来源于leetcode网站。题目的图片来自或参考原网站绘制。第三题54. Spiral MatrixGiven an m x n matrix, return all elements of the matrix in spiral order.Example 1:Input: matrix = [[1,2,3],[4,5,6],[7,8,9]]Output: [1,2,3,6,9,8,7,4,5]输入为一个m x n的数组,从位置[0,0]开始按照顺时针方向螺旋型遍历数组,输出遍历的
2021-03-28 20:35:49 134
原创 2021年3月刷题(上) Unique Paths,Subsets
题目都来源于leetcode网站。题目的图片参考原网站绘制。第一周:62. Unique PathsA robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the botto
2021-03-21 16:55:17 151
原创 2020年末总结
2020总结2020是比较特殊的一年,因为疫情初一从家往回赶。好在是公司扛过了疫情最严重的时期。现在回过头来看2020,算是安全度过了。个人方面今年和之前相比的变化有:刷Lettcode,英语打卡,线上课程和写读书笔记。刷Leetcode。年初的时候,在家办公,时间也比较富裕。刷了Leetcode的challenge,坚持了2个月。有的题目没有解题思路,需要看其他人分享的思路,总之贵在坚持,总有进步。分享了一些日常工作中遇到的技术问题和解决方案写了一篇读书笔记。阅读量不多,有人看了就感觉不错,希望
2021-01-04 14:16:29 168 1
原创 程序员的数学(第2版) 读书笔记
记录读书过程中有启发和有趣的知识点,关于书本内容的截图全部来自对书本的拍照。第1章 0 的故事主要讲的是 0 在数学中的作用和按位计数法(二进制,十进制,指数法等等)。拓展:参考链接:https://www.cnblogs.com/xiaoyh/p/10249006.html。题目:计算整数的二进制表示中1的个数。其中的一个解法:把一个整数n减去1,再和原来的整数与运算,会把该整数的最右边的1变成0。这个思路可以用来解如下问题:Power of Four(来自LeetCode)Given
2020-09-04 16:48:28 482
原创 LeetCode刷题-JumpGameII
Jump Game IIGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.You...
2020-01-13 14:29:25 179
原创 LeetCode刷题-WildcardMatching-实现正则*和?
wildcard-matchingGiven an input string (s) and a pattern (p), implement wildcard pattern matching with support for ‘?’ and ‘’.‘?’ Matches any single character.'’ Matches any sequence of characters...
2020-01-09 14:36:05 147
原创 LeetCode刷题-191119-Multiply Strings
Multiply StringsGiven two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.Example 1:Input: num1 = “2”, num2 = “3”Outp...
2019-11-19 10:43:14 158
原创 LeetCode刷题-191028-Trapping Rain Water-收集雨水
Trapping Rain WaterGiven n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.The above elevation map is ...
2019-10-29 09:20:53 156
原创 LeetCode刷题-191014-First Missing Positive-没有出现的最小正整数
First Missing PositiveGiven an unsorted integer array, find the smallest missing positive integer.Example 1:Input: [1,2,0]Output: 3Example 2:Input: [3,4,-1,1]Output: 2Example 3:Input: [7,8,9...
2019-10-14 13:23:08 771
原创 LeetCode刷题-191008,计数规则数列,找出序列中满足条件的组合(和找零钱有点相识)
Count and SayThe count-and-say sequence is the sequence of integers with the first five terms as following: 1,11, 21,1211,1112211 is read off as “one 1” or 11.11 is read off as “two 1s” or 21.21 ...
2019-10-12 16:59:34 227
原创 LeetCode刷题-190918,数独出题是否符合规则,解数独
Valid SudokuDetermine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:1.Each row must contain the digits 1-9 without repetition.2.Each c...
2019-09-25 13:16:25 333
原创 LeetCode刷题-190906,被旋转的有序int数组中查找,在数组中找到目标值出现的起止点
Search in Rotated Sorted ArraySuppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]).You are given a tar...
2019-09-06 14:02:52 209
原创 LeetCode刷题-190829,找出由‘(’,‘)’组成的字符串中最长的符合括号规则的串长度
Longest Valid ParenthesesGiven a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.Example 1:Input: “(()”Output: 2Explan...
2019-08-29 09:55:58 340
原创 LeetCode刷题-190812-下一个排列(全排列知识扩展)
Next PermutationImplement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as the ...
2019-08-13 14:51:44 274
原创 LeetCode刷题-190709-扩展:三水桶等分8升水的问题,妖怪和和尚过河问题
三水桶等分8升水的问题参考书:《算法的乐趣》王晓华著问题描述有三个容积分别是 3 升、5 升和 8 升的水桶,其中容积为8升的水桶中装满水,容积为 3 升和容积为 5 升的水桶是空的。三个水桶都没有体积刻度,现在需要将大水桶中的8升水等分成两份,每份都是4升水,附加条件是只能使用另外两个空水桶,不能使用其他容器。好像是小学的暑假作业中的题目,答案就不说了,主要分析如何用代码来解题。用人的思...
2019-08-12 09:56:49 1307
原创 LeetCode刷题-190729-查找字符串中的单词组合
Substring with Concatenation of All WordsYou are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenatio...
2019-07-30 15:49:40 656
原创 LeetCode刷题-190715-字符串查找-两个int数除法
Implement strStr()Implement strStr().Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Example 1:Input: haystack = “hello”, needle = “ll”Out...
2019-07-25 13:30:03 138
原创 LeetCode刷题-190709-扩展:阿拉伯数字和中文数字转换
前面刷过一个题,关于罗马字和阿拉伯数字转换,我之前的文章链接:https://blog.csdn.net/sleepingboy888/article/details/89814335最近在看《算法的乐趣》王晓华著,其中的“阿拉伯数字和中文数字”。阿拉伯数字转中文数字...
2019-07-11 13:23:46 6105 2
原创 LeetCode刷题-190709-统计整形数组中不同值的数量
题目:Remove Duplicates from Sorted ArrayGiven a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not allocate extra space for ano...
2019-07-09 10:09:05 164
原创 LeetCode刷题-190703-成对交换链表节点
题目:Swap Nodes in PairsGiven a linked list, swap every two adjacent nodes and return its head.You may not modify the values in the list’s nodes, only nodes itself may be changed.Example:Given 1-&...
2019-07-04 09:28:19 151
原创 ARTS-第14周-190624-算法题-多列表合并-mysql小知识分享-ARTS结束
AlgorithmGenerate ParenthesesGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[“((()))”,“(()())...
2019-07-01 09:01:44 109
原创 ARTS-第13周-190617-算法:堆、合并排序;php 时间函数;Mysql忘记root密码;rpm包删除
php 时间函数;Mysql忘记root密码;rpm包删除
2019-06-24 09:23:44 154
原创 ARTS-第12周-190603
Algorithm4SumGiven an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which give...
2019-06-17 10:17:16 135
原创 ARTS-第11周-190527
AlgorithmLetter Combinations of a Phone NumberGiven a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent.A mapping of digit to let...
2019-06-03 08:47:45 161
原创 ARTS-第10周-190520
Algorithm3Sum ClosestGiven an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assum...
2019-05-27 12:14:21 307
原创 ARTS-第9周-190513
Algorithm题目原文:3SumGiven an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:The soluti...
2019-05-20 08:37:59 247
PDF合并工具,WindowsForm项目
2023-01-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人