自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ass673556617的专栏

近期记录一些leetcode上的题目,以及平时遇到的一些问题

  • 博客(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 322 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 316

原创 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 319

原创 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 385

原创 进度

1. front end 基本strcuture有了 X2. 还在想怎么构建跟后端的auth3. 不够美观4. 如何跟后端联通,5. mp3音乐要放到哪里6. 其他功能?

2018-12-20 17:53:26 158

原创 进度

1. starter file2. 基本路由 TODO:1. add main page, add theme

2018-12-14 14:30:26 147

原创 近三个月计划

1. 刷题2. 做一个小app, 播放本地几首歌包括* angular* material2* nestjs* mongodb 越简单越好* html mp3播放部分

2018-12-12 18:03:34 187

原创 Balanced Binary Tree

https://leetcode.com/problems/balanced-binary-tree/ 以前应该已经做过这类题了 已经蠢到不忍直视。。 1. 遍历对于左右孩子分别判断是否是平衡的,并且要求左右高度差为<2, 显然在求高度的时候,有些许许多多的重复操作2. 也是遍历,但是避免重复操作 在求高度的时候,可以将是否是平衡树的信息以数字形式re...

2018-11-08 16:20:01 147

原创 近日计划

 刷题是不太可能的 1. angular 的 observable2. golang的github上的教程,熟悉一下3. 还是想把mit的分布式的课作业做一下  

2018-08-24 16:47:50 532

原创 Unity3D 文档笔记

我目前的记性以及智商,可能不允许看视频学习了,不经常用,看过以后很容易就忘。于是打算开始阅读Unity3D的文档,这样也算是理论知识的一个补充吧。目前也不打算都看,先挑几个比较基础的。打算按照以下的顺序来阅读:1. Scripting2. Phyisics3. Graphics4. Audio5. Animation6. UI7. Multiplayer and networking8. Unit...

2018-06-28 06:03:55 226

转载 synchronized and Reentrantlock

https://www.cnblogs.com/CarpenterLee/p/7896361.html

2018-06-07 05:25:04 188

原创 Java 并发编程实战 第一部分小结

下列"并发技巧清单" 列举了第一部分介绍的概念和规则* 可变状态是直观重要的(it's mutable state, stupid)    所有的并发问题都可以归结为如何协调对并发状态的访问,可变状态越少,就越容易确保线程的安全性。* 尽量将域声明为final类型,除非需要他们是可变的* 不可变对象一定是线程安全的    不可变对象极大地降低并发编程的复杂性,他们更为简单而且安全,可以任意共享而无...

2018-05-22 01:28:13 238

原创 近期计划

很久没有学习新东西了 近期的计划是1 坚持刷题2 在Umedy上学习unity, 整理到github上3. 看unreal engine的官方文档,入门这两个做游戏的工具4 继续Coursera的AI 系列,之前学习的一点机器学习的内容应该还是有一点帮助5 发现分布式是某些公司比较感兴趣的方面,可以适当的拓展这个领域6 发现总结和表达能力非常重要,表达的好同时也意味着对知识理解的全面。目前来看哪一...

2018-05-08 09:41:15 285

转载 Confusion Matrix(混淆矩阵) 解释最全的一个

https://blog.csdn.net/wowotuo/article/details/38262057

2018-05-07 12:16:50 16066

原创 基于Unity的俄罗斯方块

最近在上umedy上的一门unity入门课,把代码放到了下载区。https://download.csdn.net/download/awawfwfw/10356333知识点涵盖了以下内容:对教程的代码结构不太满意,等有时间的话重新改一下。。。...

2018-04-18 04:34:06 1051

转载 Java 并发 CopyOnWriteArrayList

https://blog.csdn.net/mazhimazh/article/details/19210547

2018-04-12 02:03:23 189

转载 Java 并发 this引用逸出

http://www.cnblogs.com/whatisjava/archive/2013/05/29/3106336.html

2018-04-11 04:46:21 293

原创 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 1284 1

转载 先验概率,后验概率,似然概率,条件概率,贝叶斯,最大似然

http://blog.csdn.net/yangang908/article/details/62215209

2018-02-13 03:58:28 280

转载 正则化,归一化和标准化

http://blog.csdn.net/sallyxyl1993/article/details/69364181

2018-02-07 04:13:38 202

原创 解决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 1744 2

转载 SSH 无密码,用户自动登录

http://blog.csdn.net/tragedyxd/article/details/46284949今天配置hadoop遇到一个愚蠢的问题..

2018-01-22 14:48:33 305 1

转载 Angular Material2 教程

有些详细的教程https://ithelp.ithome.com.tw/users/20020617/ironman/1263

2018-01-19 05:12:55 458

转载 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 929

转载 Angular Material2 教程

https://alligator.io/angular/angular-material-2/写的比较简介

2018-01-17 06:21:10 4178 1

转载 Vim html自动填充 emmet

http://blog.csdn.net/hpu_zyh/article/details/48069159自动填充 用法control + y 再加上, (逗号)  三个键组合,用法跟在vscode里类似

2017-12-28 13:43:50 399

转载 Golang channel select用法

http://blog.sibo.me/golang_tutorials/channels-in-go-range-and-select.html这一篇讲的很详细,不错

2017-12-19 13:24:41 376

原创 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 230

原创 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 254

原创 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 315

原创 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 258

转载 python numpy 矩阵用法

http://blog.csdn.net/liangzuojiayi/article/details/515373141.数组转置和轴对换:数组不仅有transpose方法,还有一个特殊的T属性:arr = np.arange(15).reshape(3,5)[python] view plain copy

2017-09-06 10:24:02 448

原创 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 574

原创 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 289

原创 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 265

原创 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 216

原创 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 232

原创 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 559

原创 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 176

原创 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 218

Unity3D Tetris 俄罗斯方块

在Umedy上找到一门Unity的入门课,跟着课程写了一个俄罗斯方块的游戏。涉及到unity的基本概念,以及particle模块。

2018-04-18

Angular4 英文教材 参考代码

这个是对应angular4那本英文教材的代码。我也是在网络上找到的,只是希望拿过来跟大家分享下,一起学习。我觉得angular对java基础还有注入依赖有经验的同学来说还是会觉得比较好接受。希望一起进步。

2017-11-07

Angular 股票管理

照着幕课网的内容写了一个demo。前端angular, 后端express, 样式Admin-LTE。只提供了查看的功能,修改跟添加功能不能同步到后端,等看完官网的表单部分再补充把。

2017-08-26

Angular4 Http

angular的http模块应用 参考教材以及代码 实现的youtube搜索框 启动: npm install, npm start

2017-08-10

angular form 表单例子

使用formbuilder创建一个表单

2017-07-19

angular4 教材 第二个inventory例子

还是基础的angular 的概念。没有加样式。

2017-07-07

angular4 教材 第一个reddit例子

angular4 教材第二章的例子 介绍基础的angular 用法

2017-07-05

Ang-bokk2 TheComplete Book on Angular 英文高清完整.pdf版

angular4 英文教材

2017-06-22

Angular4 表单demo

angular 4 官方教程里的表单例子

2017-06-09

Angular4 官方英雄编辑器

照着angular4 教程写的,对于HTTP部分RXJS部分表示很迷。

2017-06-02

django 1.8 polls 例子

根据django 1.8 官方事例做的小demo

2015-10-02

个人博客jsp实现

用了基础的jsp,servlet。数据库采用mysql。算是课下练习把。实现了文章阅读,评论,点赞。

2015-08-06

空空如也

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

TA关注的人

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