自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(62)
  • 资源 (1)
  • 问答 (9)
  • 收藏
  • 关注

原创 JQuery 高级

## 今日内容: 1. JQuery 高级 1. 动画 2. 遍历 3. 事件绑定 4. 案例 5. 插件## JQuery 高级 1. 动画 1. 三种方式显示和隐藏元素 1. 默认显示和隐藏方式 1. show([spee...

2020-02-09 14:22:06 97

原创 JQuery 基础

## 今日内容 1. JQuery 基础: 1. 概念 2. 快速入门 3. JQuery对象和JS对象区别与转换 4. 选择器 5. DOM操作 6. 案例# JQuery 基础: 1. 概念: 一个JavaScript框架。简化JS开发 * jQuery是一个快...

2020-02-09 14:21:03 157

原创 Filter&Listener

## 今日内容 1. Filter:过滤器 2. Listener:监听器# Filter:过滤器 1. 概念: * 生活中的过滤器:净水器,空气净化器,土匪、 * web中的过滤器:当访问服务器的资源时,过滤器可以将请求拦截下来,完成一些特殊的功能。 * 过滤器的作用: * 一般用于完成通用的操...

2020-02-03 18:40:41 88

原创 Filter和Listener

## 今日内容 1. Filter:过滤器 2. Listener:监听器# Filter:过滤器 1. 概念: * 生活中的过滤器:净水器,空气净化器,土匪、 * web中的过滤器:当访问服务器的资源时,过滤器可以将请求拦截下来,完成一些特殊的功能。 * 过滤器的作用: * 一般用于完成通用的操...

2020-02-03 18:38:46 77

原创 JSP

# 今日内容 1. JSP: 1. 指令 2. 注释 3. 内置对象 2. MVC开发模式 3. EL表达式 4. JSTL标签 5. 三层架构## JSP: 1. 指令 * 作用:用于配置JSP页面,导入资源文件 * 格式: <%@ ...

2020-02-03 18:37:28 103

原创 Cookie 和session

# 今日内容 1. 会话技术 1. Cookie 2. Session 2. JSP:入门学习## 会话技术 1. 会话:一次会话中包含多次请求和响应。 * 一次会话:浏览器第一次给服务器资源发送请求,会话建立,直到有一方断开为止 2. 功能:在一次会话的范围内的多次请求间,共享数据 3. 方式: ...

2020-01-30 10:00:36 87

原创 Response

# 今日内容 1. HTTP协议:响应消息 2. Response对象 3. ServletContext对象## HTTP协议: 1. 请求消息:客户端发送给服务器端的数据 * 数据格式: 1. 请求行 2. 请求头 3. 请求空行 4....

2020-01-12 12:11:13 76

原创 Servlet和HTTP

# 今日内容: 1. Servlet 2. HTTP协议 3. Request## Servlet: 1. 概念 2. 步骤 3. 执行原理 4. 生命周期 5. Servlet3.0 注解配置 6. Servlet的体系结构 Servlet -- 接口 | ...

2020-01-05 09:22:11 75

原创 Tomcat&Servlet学习

# 今日内容 1. web相关概念回顾 2. web服务器软件:Tomcat 3. Servlet入门学习## web相关概念回顾 1. 软件架构 1. C/S:客户端/服务器端 2. B/S:浏览器/服务器端 2. 资源分类 1. 静态资源:所有用户访问后,得到的结果都是一样的,称为静态资源.静态资源...

2020-01-04 15:12:31 79

原创 京东笔试题目

进制均值:尽管是一个CS专业的学生,小B的数学基础很好并对数值计算有着特别的兴趣,喜欢用计算机程序来解决数学问题,现在,她正在玩一个数值变换的游戏。她发现计算机中经常用不同的进制表示一个数,如十进制数123表达为16进制时只包含两位数7、11(B),用八进制表示为三位数1、7、3,按不同进制表达时,各个位数的和也不同,如上述例子中十六进制和八进制中各位数的和分别是18和11,。小B感兴趣的是,一个

2017-09-06 20:23:23 326

原创 86. Partition List

Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the original relative order of the nodes in each of t

2017-09-04 22:28:55 177

转载 18. 4Sum

http://www.cnblogs.com/yrbbest/p/4434188.html同3Sum。 Time Complexity - O(n3), Space Complexity - O(1)public class Solution { public ArrayList> fourSum(int[] num, int target) { Arr

2017-08-15 19:49:10 145

转载 基于深度学习的商品检索技术

摘要商品检索是一门综合了物体检测、图像分类以及特征学习的技术。近期,很多研究者成功地将深度学习方法应用到这个领域。本文对这些方法进行了总结,然后概括地提出了商品特征学习框架以及垂类数据挖掘方式,最后介绍了商品检索技术在服装搭配中的应用。前言几年前,当人们还在感叹于网页购物的快速便捷时,各大电商巨头就“悄悄地”将它们的购物应用推广到了用户的手机里。从那一刻起,用户购买的习惯也在悄悄地发生

2017-07-21 15:30:00 2784

原创 225. Implement Stack using Queues

225. Implement Stack using QueuesImplement the following operations of a stack using queues.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get t

2017-07-05 19:42:18 182

原创 Leetcode 8. String to Integer (atoi)

8. String to Integer (atoi)Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself

2017-07-03 21:27:52 162

转载 Kmeans、Kmeans++和KNN算法比较

K-Means介绍       K-means算法是聚类分析中使用最广泛的算法之一。它把n个对象根据他们的属性分为k个聚类以便使得所获得的聚类满足:同一聚类中的对象相似度较高;而不同聚类中的对象相似度较小。其聚类过程可以用下图表示:        如图所示,数据样本用圆点表示,每个簇的中心点用叉叉表示。(a)刚开始时是原始数据,杂乱无章,没有label,看起来都一样

2017-07-03 09:33:07 202

原创 NP完全问题

8.8In the EXACT 4 SAT problem, the input is a set of clauses, each of which is a disjunction of exactly four literals, and such that each variable occurs at most once in each clause. The goal is to

2017-07-01 11:16:30 260

原创 算法作业_44(2017.6.27第十九周)(算法机考模拟题4)

1004. 无环图Description 在图论中,如果一个有向图从任意顶点出发无法经过若干条边回到该点,则这个图是一个有向无环图(Directed Acyclic Graph,DAG). 对于一个n个节点的有向图(节点编号从0到n-1),请判断其是否为有向无环图. 图的节点数和边数均不多于100000. 请为下面的Solution类实现解决上述问题的isDAG

2017-06-27 15:53:32 484

原创 算法作业_43(2017.6.28第十九周)

[LeetCode] Number of Connected Components in an Undirected Graph 无向图中的连通区域的个数Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function t

2017-06-27 14:58:35 247

原创 算法作业_42(2017.6.27第十九周)

207. Course ScheduleThere are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to take course 0 you have to first take course 1

2017-06-27 14:41:54 321

原创 算法作业_41(2017.6.24第十八周)

133. Clone GraphClone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are labeled uniquely.We use # a

2017-06-24 15:10:13 192

原创 算法作业_40(2017.6.22第十八周)

121. Best Time to Buy and Sell StockSay you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (ie, buy

2017-06-16 17:18:04 343

原创 算法作业_39(2017.6.21第十八周)

101. Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2

2017-06-14 18:42:46 211

原创 算法作业_38(2017.6.20第十八周)

226. Invert Binary TreeInvert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1100. Same TreeGiven two binary trees, writ

2017-06-14 15:52:09 246

原创 算法作业_37(2017.6.19第十八周)

104. Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.

2017-06-14 15:23:41 206

原创 算法作业_36(2017.6.16第十七周)(算法机考模拟题5)

1005. 最大和从数列A[0], A[1], A[2], ..., A[N-1]中选若干个数,要求相邻的数不能都选,也就是说如果选了A[i], 就不能选A[i-1]和A[i+1]. 求能选出的最大和. 1  请为下面的Solution类实现解决上述问题的函数maxSum,函数参数A是给出的数列,返回值为所求的最大和. class Solution {p

2017-06-14 12:13:29 241

原创 算法作业_35(2017.6.16第十七周)(算法机考模拟题3)

1002. 等价二叉树两个二叉树结构相同,且对应结点的值相同,我们称这两个二叉树等价. 例如:以下两个二叉树等价        1           1       /  \         /  \      2   3       2   3而以下两个则不等价        1           1       /  \         /  \

2017-06-13 22:24:59 210

原创 算法作业_34(2017.6.16第十七周)(算法机考模拟题2)

1001. 会议安排N个会议要同时举行,参会人数分别为A[0], A[1], ..., A[N-1]. 现有M个会议室,会议室可容纳人数分别为B[0], B[1], ..., B[M-1]. 当A[i] 1  请为下面的Solution类实现解决上述问题的函数assignConferenceRoom. 函数参数A和B的意义如上,返回值为最多可安排的会议数. 

2017-06-13 21:44:02 293

原创 算法作业_33(2017.6.16第十七周)(算法机考模拟题1)

1000. 函数求值Description定义超级和函数F如下:F(0, n) = n,对于所有的正整数n..F(k, n) = F(k – 1, 1) + F(k – 1, 2) + … + F(k – 1, n),对于所有的正整数k和n. 请实现下面Solution类中计算F(k, n)的函数(1  class Solution {public:

2017-06-13 20:37:22 504

原创 算法作业_32(2017.6.15第十七周)

392. Is SubsequenceGiven a string s and a string t, check if s is subsequence of t.You may assume that there is only lower case English letters in both s and t. t is potentially a very lon

2017-06-12 16:07:04 189

原创 算法作业_31(2017.6.14第十七周)

455. Assign CookiesAssume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor gi, which is

2017-06-11 17:21:29 203

原创 算法作业_30(2017.6.13第十七周)

198. House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them i

2017-06-11 09:57:15 218

原创 算法作业_29(2017.6.12第十七周)

343. Integer BreakGiven a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get.For exa

2017-06-09 14:58:08 204

原创 算法作业_28(2017.6.8第十六周)

64. Minimum Path SumGiven a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.Note: You can only mo

2017-06-08 20:56:46 190

原创 算法作业_27(2017.6.8第十六周)

120. TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjachttp://write.blog.csdn.net/posteditent numbers on the row below.For example, given t

2017-06-08 18:39:53 216

原创 算法作业_26(2017.6.6第十六周)

583. Delete Operation for Two StringsGiven two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one character

2017-06-06 19:33:10 213

原创 算法作业_25(2017.6.1第十五周)

最长公共子序列与最长公共子串(动态规划问题)一直不明白最长公共子串和最长公共子序列的区别,上网查了下,最长公共子串(Longest Common Substirng)和最长公共子序列(Longest Common Subsequence,LCS)的区别为:子串是串的一个连续的部分,子序列则是从不改变序列的顺序,而从序列中去掉任意的元素而获得新的序列;也就是说,子串中字符的位置必须是连续的,子序

2017-06-05 22:03:06 262

原创 算法作业_24(2017.5.23第十四周)

563. Binary Tree TiltGiven a binary tree, return the tilt of the whole tree.The tilt of a tree node is defined as the absolute difference between the sum of all left subtree node values and

2017-05-24 22:00:32 217

原创 算法作业_23(2017.5.23第十四周)

575. Distribute CandiesGiven 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.

2017-05-23 18:40:16 188

原创 算法作业_22(2017.5.18第十三周)

232. Implement Queue using StacksImplement the following operations of a queue using stacks.push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front of queue.p

2017-05-18 19:10:19 210

android开发从入门到精通(项目案例版)21章源码

android开发从入门到精通(项目案例版)21章源码,android开发从入门到精通(项目案例版)21章源码,

2018-12-06

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

TA关注的人

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