自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(31)
  • 收藏
  • 关注

原创 【flutter 3】打包 windows桌面端程序 exe

发现全网都是非常旧的教程,现在打包Windows desktop程序不需要装go语言什么的首先这个flutter程序可以运行的。

2022-09-09 15:57:09 1090 3

原创 cdn-img

2021-11-03 17:31:38 258

原创 笔试基础知识点

基于TCP或UDP的应用层协议有哪些?——Linux网络编程1、基于TCP的应用层协议有:HTTP、FTP、SMTP、TELNET、SSHHTTP ( 用的最多) HyperText Transfer Protocol(超文本传输协议) 80FTP File Transfer Protocol (文件传输协议) 20用于传输数据,21用于传输控制信息SMTP Simple Mail Transfer Protocol (简单邮件传输协议) 25TELNET Teletype over the

2020-09-11 11:15:52 105

原创 JS知识点

JS9.跨域是有哪几种方式实现的(什么是跨域,限制了什么,不同源的话会进行什么策略)跨域的方式有:jsonP、nigix的代理、websocket以及php端修改header。代理设置了location的哪一项?websocket是怎么进行跨域的?php修改header为很么修改了就想能跨域了?10.this指向普通函数和箭头函数的this,以及怎么改变普通函数里的this指向11.apply、call、bind,区别apply怎样实现bindES612.promise和async a

2020-09-10 22:29:48 113

原创 JS小知识点

替换最后一个匹配项使用方法:replace使用replace匹配的是第一个匹配项,或者使用g进行全局匹配,与需求不符匹配最后一个匹配项并替换,需要用到一种贪婪模式var str = 000p111p222p333str = str.replace(/(.*)p/, '$1div')console.log(str) //000p111p222div333...

2020-09-10 22:16:21 84

转载 OC-判断字符串为空

判断字符串为空:看似简单的问题,有人会说不就使用[string isEqualToString:@""]或者更简单的string.text == nil就行了嘛。但是并没有考虑到其中存在的一些问题,例如当字符串中存在空格或者换行时或者当请求后台数据时得到的是进行JSON解析的时候, 如果解析出的NSDictionary中某个key对应的value为空, 则系统会把它处理为NSNull类的单例对象。这些情况下,上面的判断方法就不会起到作用。具体实现:(BOOL)isBlankString:(NSStri

2020-08-03 14:41:00 1176

原创 Error: Permission denied (publickey) 的解决方法

这一切都是源于智障的我在创建SSH Key:$ ssh-keygen -t rsa -C "youremail@example.com"你需要把邮件地址换成你自己的邮件地址,然后一路回车,使用默认值即可,由于这个Key也不是用于军事目的,所以也无需设置密码。并没有一路回车,而是设置了一个文件名,让ssh储存在这个文件里。然后主目录下的.ssh文件夹里面没有id_rsa.pub和id_rsa...

2019-11-22 10:35:19 1211

原创 11. Container With Most Water 盛最多水的容器 # Two-pointers

贪心的猫子有奶喝

2019-10-08 21:22:27 115

原创 'utf-8' codec can't decode byte 0xd5 in position 0: invalid continuation byte

辣机记事本毁我青春

2019-10-07 20:26:47 3561 3

原创 35. Search Insert Position 搜索插入位置 #Binary Search 新的二分法算法

纠结二分法的中位数怎么取吗

2019-09-17 17:29:10 110

原创 3. Longest Substring Without Repeating Characters 无重复字符的最长子串

3. Longest Substring Without Repeating Charactershttps://leetcode.com/problems/longest-substring-without-repeating-characters/DescriptionGiven a string, find the length of the longest substring wit...

2019-09-15 20:35:54 93

原创 2. Add Two Numbers 两数相加 #Linked List #Math

2. Add Two Numbershttps://leetcode.com/problems/add-two-numbers/DescriptionYou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order an...

2019-09-14 22:54:00 115

原创 191. Number of 1 Bits 位1的个数 #Bit Manipulation

文章目录191. Number of 1 BitsDescriptionSolutionsSubmissionsSummary191. Number of 1 Bitshttps://leetcode.com/problems/reverse-bits/DescriptionReverse bits of a given 32 bits unsigned integer.Example ...

2019-09-13 19:06:08 97

原创 190. Reverse Bits 颠倒二进制位 #Bit Manipulation

颠倒给定的 32 位无符号整数的二进制位。文章目录[LC] 190. Reverse BitsDescriptionSolutionsSubmissionsSummary[LC] 190. Reverse Bitshttps://leetcode.com/problems/rotate-array/DescriptionGiven an array, rotate the array t...

2019-09-11 21:40:43 355

原创 189. Rotate Array 反转数组 #Array

文章目录189. Rotate ArrayDescriptionSolutionsSubmissionsSummary189. Rotate Arrayhttps://leetcode.com/problems/rotate-array/DescriptionGiven an array, rotate the array to the right by k steps, where k ...

2019-09-11 15:35:26 145

原创 168. Excel Sheet Column Title

文章目录168. Excel Sheet Column TitleDescriptionSolutionsSubmissionsSummary168. Excel Sheet Column Titlehttps://leetcode.com/problems/excel-sheet-column-title/Description将十进制转为26进制。Given a positive i...

2019-05-12 19:15:39 76

原创 167. Two Sum II - Input array is sorted

文章目录167. Two Sum II - Input array is sortedDescriptionSolutionsSubmissionsSummary167. Two Sum II - Input array is sortedhttps://leetcode.com/problems/two-sum-ii-input-array-is-sorted/DescriptionSo...

2019-05-12 18:57:07 98

原创 160. Intersection of Two Linked Lists - Java

文章目录160. Intersection of Two Linked ListsDescriptionSolutionsSubmissionsSummary160. Intersection of Two Linked Listshttps://leetcode.com/problems/intersection-of-two-linked-lists/DescriptionSoluti...

2019-05-10 21:24:30 120

原创 141. Linked List Cycle - Java

文章目录141. Linked List CycleDescriptionSolutionsSubmissionsSummary141. Linked List Cyclehttps://leetcode.com/problems/linked-list-cycle/DescriptionGiven a linked list, determine if it has a cycle in...

2019-05-09 10:05:06 176

原创 136. Single Number - Java

文章目录136. Single NumberDescriptionSolutionsSubmissionsSummary136. Single Numberhttps://leetcode.com/problems/single-number/DescriptionGiven a non-empty array of integers, every element appears twic...

2019-05-08 10:28:21 143

原创 125. Valid Palindrome

文章目录125. Valid PalindromeDescriptionSolutionsSubmissionsSummary125. Valid Palindromehttps://leetcode.com/problems/valid-palindrome/DescriptionGiven a string, determine if it is a palindrome, consi...

2019-05-07 13:13:57 86

原创 122. Best Time to Buy and Sell Stock II

文章目录122. Best Time to Buy and Sell Stock IIDescriptionSolutionsSubmissionsSummary122. Best Time to Buy and Sell Stock IIhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/Description...

2019-05-06 22:31:25 74

原创 121. Best Time to Buy and Sell Stock

文章目录121. Best Time to Buy and Sell StockDescriptionSolutionsSubmissionsSummary121. Best Time to Buy and Sell Stockhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock/DescriptionSolutions...

2019-05-06 21:41:15 87

原创 119. Pascal's Triangle II

https://leetcode.com/problems/pascals-triangle-ii/class Solution {public List getRow(int rowIndex) {List front=new ArrayList<>();front.add(1);for(int i=1;i<=rowIndex;i++){List ls=new A...

2019-04-27 11:06:15 97

原创 118. Pascal's Triangle

文章目录118. Pascal's TriangleDescriptionSolutionsSubmissionsSummary118. Pascal’s TriangleDescriptionSolutionsSubmissionsSummary

2019-04-26 22:10:54 69

原创 112. Path Sum

文章目录112. Path SumDescriptionSolutionsSubmissionsSummary112. Path Sumhttps://leetcode.com/problems/path-sum/DescriptionGiven a binary tree and a sum, determine if the tree has a root-to-leaf path s...

2019-04-25 21:48:16 75

原创 111. Minimum Depth of Binary Tree

文章目录111. Minimum Depth of Binary TreeDescriptionSolutionsSubmissionsSummary111. Minimum Depth of Binary Treehttps://leetcode.com/problems/minimum-depth-of-binary-tree/DescriptionGiven a binary tre...

2019-04-24 10:46:32 93

原创 110. Balanced Binary Tree

就是每个deep(parent)=max(deep(l),deep®)if(deep(l)–deep®绝对值>1) return false就是后序遍历,先把左右儿子的深度算出来

2019-04-23 13:55:38 86

原创 108. Convert Sorted Array to Binary Search Tree

文章目录108. Convert Sorted Array to Binary Search TreeDescriptionSolutionsSubmissionsSummary108. Convert Sorted Array to Binary Search TreeDescriptionGiven an array where elements are sorted in ascend...

2019-04-23 11:14:28 83

原创 107.Binary Tree Level Order Traversal II

107.Binary Tree Level Order Traversal IIDescriptionbinary-tree-level-order-traversal-iiGiven a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left to right,...

2019-04-21 16:10:37 95

原创 [WEKA] 2 evaluation

Weka的学习结果评估部分。

2018-11-01 20:33:47 570

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除