码迷,mamicode.com
首页 >  
搜索关键字:tco    ( 5870个结果
leetCode 51.N-Queens (n皇后问题) 解题思路和方法
N-Queens The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, re ...
分类:其他好文   时间:2017-06-22 22:57:37    阅读次数:176
leetcode -day23 Construct Binary Tree from Inorder and Postorder Traversal & Construct Binary Tree f
1、 ?? Construct Binary Tree from Inorder and Postorder Traversal Given inorder and postorder traversal of a tree, construct the binary tree. Note: You ...
分类:其他好文   时间:2017-06-22 20:48:31    阅读次数:140
文字不透明,背景透明
<div class="box">文字不透明,背景透明</div> <style> *{ padding:0; margin:0; } .box{ background:rgba(255,0,0,0.5); filter:progid:DXImageTransform.Microsoft.gradi ...
分类:其他好文   时间:2017-06-22 16:59:12    阅读次数:132
Spring boot 1: 使用IDEA创建Spring boot项目
项目用到的环境: Windows 10 JDK8 IntelliJ IDEA 2017.1.3 Apache Tomcat 8 Maven 3.3.3 使用IDEA新建spring boot项目 新建项目 选择类型为Spring Initializer. 填入相关的项目信息 选择denpendcy ...
分类:编程语言   时间:2017-06-22 13:27:45    阅读次数:172
Spring注解注入
在使用注解前必须对Spring容器进行头文件导入和配置上下文环境。 属性注解原理: 在解析到配置文件中开启了属性注解,在创建对象时发现属性存在注解,这时就会进行自动装配的操作。首先根据id去匹配,如果匹配成功则注入,若失败则根据class进行匹配,匹配成功则注入,失败则飘红(报错)。 包扫描原理:( ...
分类:编程语言   时间:2017-06-22 13:22:47    阅读次数:245
CXF整合spring,在tomcat中发布webService
1、首先下载CXF的jar包 http://pan.baidu.com/s/1dFBwSRf 密码: qyax。里面自带了需要用到的spring的jar包 2、新建一个web项目,在这里我给它命名为cxfweb 3、将下载的jar包导入lib下,并build 4、在src目录下,新建两个包。com. ...
分类:编程语言   时间:2017-06-22 12:08:25    阅读次数:284
spring02
1.1. 什么是AOP? AOP (Aspect Oriented Programing) 称为:面向切面编程,它是一种编程思想。 AOP采取横向抽取机制,取代了传统纵向继承体系重复性代码的编写方式(例如性能监视、事务管理、安全检查、缓存、日志记录等)。 【扩展了解】AOP是OOP(面向对象编程(O ...
分类:编程语言   时间:2017-06-22 10:01:44    阅读次数:197
leetCode(38):Lowest Common Ancestor of a Binary Search Tree
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the definition of LCA on Wikipedia ...
分类:其他好文   时间:2017-06-21 21:57:09    阅读次数:157
关于this的指向
一般来说,this指向的其实就是:包含this的函数(对象)的父元素; var User={ data:this,//包含这个this的是User对象,其父元素是window,故此时this指向window对象 count:1, getCount:function(){ return this.co ...
分类:其他好文   时间:2017-06-21 21:02:54    阅读次数:139
623. Add One Row to Tree
Problem statement Given the root of a binary tree, then value v and depth d, you need to add a row of nodes with value v at the given depth d. The roo ...
分类:其他好文   时间:2017-06-21 11:43:15    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!