- 博客(337)
- 资源 (12)
- 收藏
- 关注
原创 575. Decode String
DescriptionGiven an expression s includes numbers, letters and brackets. Number represents the number of repetitions inside the brackets(can be a string or another expression).Please expand expressio...
2019-01-28 10:52:10
382
1
原创 473. Add and Search Word - Data structure design
lint code DescriptionDesign a data structure that supports the following two operations: addWord(word) and search(word)search(word) can search a literal word or a regular expression string con...
2019-01-27 16:04:41
375
原创 947. Most Stones Removed with Same Row or Column
Most Stones Removed with Same Row or ColumnOn a 2D plane, we place stones at some integer coordinate points. Each coordinate point may have at most one stone.Now, a move consists of removing a ston...
2019-01-27 10:39:31
371
原创 959. Regions Cut By Slashes
959. Regions Cut By Slashes In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank space. These characters divide the square into contiguous regions.(Note tha...
2019-01-27 10:31:58
524
原创 进度
1. front end 基本strcuture有了 X2. 还在想怎么构建跟后端的auth3. 不够美观4. 如何跟后端联通,5. mp3音乐要放到哪里6. 其他功能?
2018-12-20 17:53:26
192
原创 近三个月计划
1. 刷题2. 做一个小app, 播放本地几首歌包括* angular* material2* nestjs* mongodb 越简单越好* html mp3播放部分
2018-12-12 18:03:34
217
原创 Balanced Binary Tree
https://leetcode.com/problems/balanced-binary-tree/ 以前应该已经做过这类题了 已经蠢到不忍直视。。 1. 遍历对于左右孩子分别判断是否是平衡的,并且要求左右高度差为<2, 显然在求高度的时候,有些许许多多的重复操作2. 也是遍历,但是避免重复操作 在求高度的时候,可以将是否是平衡树的信息以数字形式re...
2018-11-08 16:20:01
188
原创 近日计划
刷题是不太可能的 1. angular 的 observable2. golang的github上的教程,熟悉一下3. 还是想把mit的分布式的课作业做一下
2018-08-24 16:47:50
556
原创 Unity3D 文档笔记
我目前的记性以及智商,可能不允许看视频学习了,不经常用,看过以后很容易就忘。于是打算开始阅读Unity3D的文档,这样也算是理论知识的一个补充吧。目前也不打算都看,先挑几个比较基础的。打算按照以下的顺序来阅读:1. Scripting2. Phyisics3. Graphics4. Audio5. Animation6. UI7. Multiplayer and networking8. Unit...
2018-06-28 06:03:55
273
转载 synchronized and Reentrantlock
https://www.cnblogs.com/CarpenterLee/p/7896361.html
2018-06-07 05:25:04
219
原创 Java 并发编程实战 第一部分小结
下列"并发技巧清单" 列举了第一部分介绍的概念和规则* 可变状态是直观重要的(it's mutable state, stupid) 所有的并发问题都可以归结为如何协调对并发状态的访问,可变状态越少,就越容易确保线程的安全性。* 尽量将域声明为final类型,除非需要他们是可变的* 不可变对象一定是线程安全的 不可变对象极大地降低并发编程的复杂性,他们更为简单而且安全,可以任意共享而无...
2018-05-22 01:28:13
272
原创 近期计划
很久没有学习新东西了 近期的计划是1 坚持刷题2 在Umedy上学习unity, 整理到github上3. 看unreal engine的官方文档,入门这两个做游戏的工具4 继续Coursera的AI 系列,之前学习的一点机器学习的内容应该还是有一点帮助5 发现分布式是某些公司比较感兴趣的方面,可以适当的拓展这个领域6 发现总结和表达能力非常重要,表达的好同时也意味着对知识理解的全面。目前来看哪一...
2018-05-08 09:41:15
328
转载 Confusion Matrix(混淆矩阵) 解释最全的一个
https://blog.youkuaiyun.com/wowotuo/article/details/38262057
2018-05-07 12:16:50
16193
原创 基于Unity的俄罗斯方块
最近在上umedy上的一门unity入门课,把代码放到了下载区。https://download.youkuaiyun.com/download/awawfwfw/10356333知识点涵盖了以下内容:对教程的代码结构不太满意,等有时间的话重新改一下。。。...
2018-04-18 04:34:06
1089
转载 Java 并发 CopyOnWriteArrayList
https://blog.youkuaiyun.com/mazhimazh/article/details/19210547
2018-04-12 02:03:23
225
转载 Java 并发 this引用逸出
http://www.cnblogs.com/whatisjava/archive/2013/05/29/3106336.html
2018-04-11 04:46:21
330
原创 Angular Material 课程
推荐一门umedy上的angular课程: Build Angular 5 apps with Firebase and Angular Material点击打开链接内容比较简介, 包括了angular里常用的一些知识点比如 单双向绑定,模板/响应式表格,代码模块化,路由导航(守卫路由)。涵盖了包含login, post, gallery, chat 等功能,样式上使用 angular mater...
2018-04-03 11:41:16
1337
1
转载 先验概率,后验概率,似然概率,条件概率,贝叶斯,最大似然
http://blog.youkuaiyun.com/yangang908/article/details/62215209
2018-02-13 03:58:28
312
转载 正则化,归一化和标准化
http://blog.youkuaiyun.com/sallyxyl1993/article/details/69364181
2018-02-07 04:13:38
232
原创 解决Ubuntu无法挂起的问题
发现Alienware装上ubuntu以后一直不能正常挂起,输入密码以后界面依次关闭,只能重启。。http://www.techbear.co/turning-off-hybrid-graphics-amd-radeon-hd-8700m-debian-jessie-ativ-book-8/解决方法是修改 /etc/default/grub文件里的GRUB_CMDL
2018-01-26 10:38:10
1946
转载 SSH 无密码,用户自动登录
http://blog.youkuaiyun.com/tragedyxd/article/details/46284949今天配置hadoop遇到一个愚蠢的问题..
2018-01-22 14:48:33
337
1
转载 Angular Material2 教程
有些详细的教程https://ithelp.ithome.com.tw/users/20020617/ironman/1263
2018-01-19 05:12:55
494
转载 Angular socketio 聊天程序
http://www.codershood.info/2017/02/09/real-time-private-chatting-app-using-angular-2-nodejs-mongodb-socket-io-part-1/还不错的教程 还在看打算基于这个改进: 1. 单人/多人(eg: room) 聊天 两种模式2. 是否能够提高服务器的性能, node cluster etc
2018-01-18 05:32:39
959
转载 Angular Material2 教程
https://alligator.io/angular/angular-material-2/写的比较简介
2018-01-17 06:21:10
4233
转载 Vim html自动填充 emmet
http://blog.youkuaiyun.com/hpu_zyh/article/details/48069159自动填充 用法control + y 再加上, (逗号) 三个键组合,用法跟在vscode里类似
2017-12-28 13:43:50
435
转载 Golang channel select用法
http://blog.sibo.me/golang_tutorials/channels-in-go-range-and-select.html这一篇讲的很详细,不错
2017-12-19 13:24:41
410
原创 Continuous Subarray Sum
Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that sums up to the multiple of k, that is, sums up t
2017-09-14 02:14:03
297
原创 Predict the Winner
Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and then player 1 and so on. Each time a player picks a
2017-09-11 03:52:08
286
原创 Maximum Width of Binary Tree
Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binary tree has the same structure as a full binary tre
2017-09-10 04:10:50
345
原创 Print Binary Tree
Print a binary tree in an m*n 2D string array following these rules:The row number m should be equal to the height of the given binary tree.The column number n should always be an odd number.The r
2017-09-09 00:45:47
333
转载 python numpy 矩阵用法
http://blog.youkuaiyun.com/liangzuojiayi/article/details/515373141.数组转置和轴对换:数组不仅有transpose方法,还有一个特殊的T属性:arr = np.arange(15).reshape(3,5)[python] view plain copy
2017-09-06 10:24:02
477
原创 Split Array into Consecutive Subsequences
You are given an integer array sorted in ascending order (may contain duplicates), you need to split them into several subsequences, where each subsequences consist of at least 3 consecutive integers.
2017-09-06 04:40:47
639
原创 Can Place Flowers
Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they would compete for water and both would die.Gi
2017-09-02 04:24:13
312
原创 Brick Wall
There is a brick wall in front of you. The wall is rectangular and has several rows of bricks. The bricks have the same height but different width. You want to draw a vertical line from the top to the
2017-09-02 04:07:56
334
原创 Number Complement
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note:The given integer is guaranteed to fit within the range
2017-09-02 03:14:07
244
原创 Reshape the Matrix
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data.You're given a matrix represented by a two-dim
2017-09-01 23:36:36
254
原创 Solve the Equation
Solve a given equation and return the value of x in the form of string "x=#value". The equation contains only '+', '-' operation, the variable x and its coefficient.If there is no solution for t
2017-09-01 06:43:24
591
原创 Contiguous Array
Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1.Example 1:Input: [0,1]Output: 2Explanation: [0, 1] is the longest contiguous subarray with e
2017-09-01 05:52:49
194
原创 Distribute Candies
Given an integer array with even length, where different numbers in this array represent different kinds of candies. Each number means one candy of the corresponding kind. You need to distribute the
2017-09-01 01:25:18
275
Angular4 英文教材 参考代码
2017-11-07
Angular 股票管理
2017-08-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人