E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
mycode
Leetcode - Group Anagrams
Mycode
:importjava.util.ArrayList;importjava.util.Arrays;importjava.util.HashMap;importjava.util.List;
Richardo92
·
2020-03-20 04:52
Leetcode - Valid Word Abbreviation
Mycode
:publicclassSolution{publicbooleanvalidWordAbbreviation(Stringword,Stringabbr){intwi=0;intai=0;
Richardo92
·
2020-03-19 14:42
Leetcode - Reverse Words in a String
Mycode
:publicclassSolution{publicStringreverseWords(Strings){if(s==null)returnnull;elseif(s.length()=
Richardo92
·
2020-03-19 07:58
Leetcode - Copy List with Random Pointer
Mycode
:/***Definitionforsingly-linkedlistwitharandompointer.
Richardo92
·
2020-03-19 00:59
Leetcode - Binary Tree Longest Consecutive Sequence
Mycode
:/***Definitionforabinarytreenode.
Richardo92
·
2020-03-18 04:06
Leetcode - Course Schedule
Mycode
:importjava.util.ArrayList;importjava.util.LinkedList;importjava.util.List;importjava.util.Queue
Richardo92
·
2020-03-17 23:44
Leetcode - Android Unlock Patterns
Mycode
:publicclassSolution{publicintnumberOfPatterns(intm,intn){if(m<=0||n<=0){return0;}int[][]skip=newint
Richardo92
·
2020-03-16 14:42
Leetcode - Nim Game
Mycode
:publicclassSolution{publicbooleancanWinNim(intn){if(n<=0)returnfalse;if(n%4==0)returnfalse;elsereturntrue
Richardo92
·
2020-03-16 08:01
Leetcode - Combination Sum III
Mycode
:importjava.util.ArrayList;importjava.util.List;publicclassSolution{publicList>combinationSum3(
Richardo92
·
2020-03-16 02:51
Leetcode - Design Twitter
Mycode
:importjava.util.ArrayList;importjava.util.Comparator;importjava.util.HashMap;importjava.util.HashSet
Richardo92
·
2020-03-14 23:43
Leetcode - Design Hit Counter
Mycode
:publicclassHitCounter{TreeMaptree;privateintcounter=0;/**Initializeyourdatastructurehere.
Richardo92
·
2020-03-14 20:34
Leetcode - Kth Smallest Element in a Sorted Matrix
Mycode
:publicclassSolution{publicintkthSmallest(int[][]matrix,intk){if(matrix==null||matrix.length==0
Richardo92
·
2020-03-14 02:11
Leetcode - Binary Tree Upside Down
Mycode
:/***Definitionforabinarytreenode.
Richardo92
·
2020-03-14 02:38
Leetcode - Best Time to Buy and Sell Stock IV
Mycode
:publicclassSolution{publicintmaxProfit(intk,int[]prices){if(k=(len/2)){intmaxProfit=0;for(inti
Richardo92
·
2020-03-13 11:11
Leetcode - Valid Sudoku
Mycode
:importjava.util.HashSet;publicclassSolution{publicbooleanisValidSudoku(char[][]board){if(board
Richardo92
·
2020-03-13 06:13
Leetcode - Binary Tree Maximum Path Sum
Mycode
:/***Definitionforabinarytreenode.
Richardo92
·
2020-03-13 05:47
使用JS+socket.io+WebRTC+nodejs+express搭建一个简易版远程视频聊天
目录WebRTC代码原理及流程源码:
[email protected]
:DieHunter/
myCode
.git仓库:
myCode
/videoSteam前端先附上HTML和CSS完整的socket.js完整的userList.js
DieHunter1024
·
2020-03-12 12:11
JavaScript
Node.js
node.js
javascript
socket
Leetcode - Reverse Vowels of a String
Mycode
:publicclassSolution{publicStringreverseVowels(Strings){if(s==null||s.length()==0){returns;}char
Richardo92
·
2020-03-12 07:30
Leetcode - Excel Sheet Column Number
Mycode
:publicclassSolution{publicinttitleToNumber(Strings){if(s==null||s.length()==0)return0;intnumber
Richardo92
·
2020-03-11 17:34
Leetcode - Intersection of Two Arrays II
Mycode
:publicclassSolution{publicint[]intersect(int[]nums1,int[]nums2){if(nums1==null||nums2==null){returnnull
Richardo92
·
2020-03-11 08:45
Leetcode - Palindrome Partitioning
Mycode
:importjava.util.ArrayList;importjava.util.List;publicclassSolution{publicList>partition(Strings
Richardo92
·
2020-03-11 00:57
283. Move Zeroes - easy
Mycode
,1st:publicclassSolution{publicvoidmoveZeroes(int[]nums){/**twopointers:*1stfirstzero,2ndcurrscaniterm
沉睡至夏
·
2020-03-10 20:36
Leetcode - Plus One Linked List
Mycode
:/***Definitionforsingly-linkedlist.
Richardo92
·
2020-03-10 04:03
Leetcode - Range Sum Query 2D - Immutable
Mycode
:publicclassNumMatrix{int[][]sum;publicNumMatrix(int[][]matrix){if(matrix==null||matrix.length=
Richardo92
·
2020-03-10 02:44
Leetcode - Palindrome Number
Mycode
:publi
Richardo92
·
2020-03-08 20:25
Leetcode - Sum of Left Leaves
Mycode
:recursion/***Definitionforabinarytreenode.
Richardo92
·
2020-03-08 07:49
Leetcode - ZigZag Conversion
[UploadingPaste_Image_054225.png...]
Mycode
:publicclassSolution{publicStringconvert(Strings,intnumRows
Richardo92
·
2020-03-07 16:21
mac 使用SVN客户端命令 操作svn 教程
1.从本地导入代码到服务器(第一次初始化导入)在终端中输入svnimport/Users/apple/Documents/eclipse_workspace/weibosvn://localhost/
mycode
TyroneTang
·
2020-03-07 09:38
Leetcode - Random Pick Index
Mycode
:publicclassSolution{int[]nums;intresult=Integer.MAX_VALUE;Randomr;publicSolution(int[]nums){this.nums
Richardo92
·
2020-03-06 07:22
Leetcode - Integer to English Words
Mycode
:publicclassSolution{privatefinalString[]lessThan20={"","One","Two","Three","Four","Five","Six"
Richardo92
·
2020-03-05 22:11
JS案例:用购物车理解前端MVC架构
目录什么是MVC:MVC的作用:如何使用MVC架构:效果:以下是所有代码:源码地址:https://gitee.com/DieHunter/
myCode
/tree/master/shopCarMVC后端
DieHunter1024
·
2020-03-05 17:00
JavaScript
Node.js
javascript
前端
Leetcode - Word Ladder
Mycode
:publicclassSolution{privateclasswordNode{Stringword;intstep;wordNode(Stringword,intstep){this.word
Richardo92
·
2020-03-04 03:50
Leetcode - Binary Tree Inorder Traversal
Mycode
:importjava.util.ArrayList;importjava.util.List;/***Definitionforabinarytreenode.
Richardo92
·
2020-03-04 00:17
67. Add Binary - easy
mycode
:publicclassSolution{publicStringaddBinary(Stringa,Stringb){
沉睡至夏
·
2020-03-03 06:18
Leetcode - Best Time to Buy and Sell Stock with Cooldown
Mycode
:publicclassSolution{publicintmaxProfit(int[]prices){if(prices==null||prices.lengthrests0s0-->steals1s1
Richardo92
·
2020-02-29 22:12
Leetcode - Count and Say
Mycode
:publicclassSolution{publicStringcountAndSay(intn){if(nmap=newHashMap();publicStringcountAndSay
Richardo92
·
2020-02-29 11:06
Leetcode - Additive Number
Mycode
:importjava.math.BigInteger;publicclassSolution{publicbooleanisAdditiveNumber(Stringnum){intn=num.length
Richardo92
·
2020-02-29 01:47
Leetcode - Recover Binary Search Tree
Mycode
:/***Definitionforabinarytreenode.
Richardo92
·
2020-02-28 21:27
Mac OS svn配置使用以及冲突解决
服务器端和客户端的功能,所以我们可以不用装任何第三方软件就可以使用svn功能,不过需要做一些简单地配置创建代码仓库我首先在~目录下新建了一个svn目录$mkdirsvn创建一个仓库,名称随意,我的名字是
mycode
蹲厕所的熊
·
2020-02-28 04:53
Leetcode - Populating Next Right Pointers in Each Node II
Mycode
:/***Definitionforbinarytreewithnextpointer.
Richardo92
·
2020-02-26 21:37
Leetcode - Factorial Trailing Zeroes
Mycode
:publicclassSolution{publicinttrailingZeroes(intn){if(n0){sum+=n/5;n=n/5;}returnsum;}}一开始只想起来是数
Richardo92
·
2020-02-26 03:18
Leetcode - Longest Absolute File Path
Mycode
:publicclassSolution{publicintlengthLongestPath(Stringinput){if(input==null||input.length()==0)
Richardo92
·
2020-02-26 01:52
Leetcode - Gas Station
Mycode
:publicclassSolution{publicintcanCompleteCircuit(int[]gas,int[]cost){if(gas==null||gas.length==
Richardo92
·
2020-02-25 08:55
Leetcode - Count Numbers with Unique Digits
Mycode
:publicclassSolution{publicintcountNumbersWithUniqueDigits(intn){if(n=max){return0;}counter++;for
Richardo92
·
2020-02-25 03:16
Leetcode - Sum of Two Integers
Mycode
:publicclassSolution{publicintgetSum(inta,intb){if(b==0){returna;}intsum=(a^b);intcarry=(a&b);carry
Richardo92
·
2020-02-24 13:07
Leetcode - Gray Code
Mycode
:importjava.util.ArrayList;importjava.util.List;publicclassSolution{publicListgrayCode(intn){ArrayListret
Richardo92
·
2020-02-24 05:49
Leetcode - Minimum Size Subarray Sum
Mycode
:publicclassSolution{publicintminSubArrayLen(ints,int[]nums){if(nums==null||nums.length==0)return0
Richardo92
·
2020-02-22 20:00
Leetcode - Perfect Rectangle
Mycode
:importjava.util.HashMap;importjava.util.Iterator;publicclassSolution{HashMapmap;publicbooleanisRectangleCover
Richardo92
·
2020-02-22 02:30
Leetcode - Longest Substring with At Most K Distinct Characters
Mycode
:publicclassSolution{publicintlengthOfLongestSubstringKDistinct(Strings,intk){if(s==null||s.length
Richardo92
·
2020-02-20 14:54
Leetcode - Flip Game II
Mycode
:publicclassSolution{publicbooleancanWin(Strings){if(s==null||s.length()<2){returnfalse;}for(inti
Richardo92
·
2020-02-20 06:39
上一页
3
4
5
6
7
8
9
10
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他