码迷,mamicode.com
首页 > 其他好文
(中等) POJ 3280 Cheapest Palindrome,DP。
DescriptionKeeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an el...
分类:其他好文   时间:2015-07-20 10:34:03    阅读次数:103
LeeCode-Insertion Sort List
Sort a linked list using insertion sort. 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * struct ListNo...
分类:其他好文   时间:2015-07-20 10:33:09    阅读次数:120
(中等) POJ 1054 The Troublesome Frog,记忆化搜索。
DescriptionIn Korea, the naughtiness of the cheonggaeguri, a small frog, is legendary. This is a well-deserved reputation, because the frogs jump thro...
分类:其他好文   时间:2015-07-20 10:32:24    阅读次数:201
LeeCode-Invert Binary Tree
Invert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1 1 /** 2 * Definition for a binary tre...
分类:其他好文   时间:2015-07-20 10:35:00    阅读次数:93
ChemDraw文件存储格式有哪些
ChemDraw软件有专门的文件存储格式,只有熟知所有的存储格式才能将ChemDraw运用的得心应手,本教程将带你一起认识14种ChemDraw文件存储格式。
分类:其他好文   时间:2015-07-20 10:33:59    阅读次数:214
ICEcoder显示汉字出现乱码的处理
在网上看到icecoder这个小东西,是一个基于web的编辑器,很不错。唯一的缺点是打开的文件中汉字会变成乱码。经查看源代码,在lib/file-control.php中,第89行是:echo ''.htmlentities($loadedFile).''.htmlspecialchars($loa...
分类:其他好文   时间:2015-07-20 10:32:59    阅读次数:88
A Simple MVVM Example[Forward]
In my opinion, if you are using WPF or Silverlight you should be using the MVVM design pattern. It is perfectly suited to the technology and allows yo...
分类:其他好文   时间:2015-07-20 10:32:16    阅读次数:85
Objective-C设计模式——抽象工厂模式Abstract Factory(对象创建)
抽象工厂模式理解了工厂方法模式,其实抽象工厂和工厂方法模式有很多的相似之处。抽象工厂同样是分离客户端对象的创建和逻辑代码的,但是抽象工厂往往是产生一组数据而不单单是产生一个产品。抽象工厂提供一个创建一系列相关或相互依赖对象接口,而无需制定它们具体的类。抽象工厂与工厂方法抽象工厂通过对象组合创建抽象产...
分类:其他好文   时间:2015-07-20 10:33:56    阅读次数:93
LeeCode-Merge Sorted Array
Given two sorted integer arraysnums1andnums2, mergenums2intonums1as one sorted array.Note:You may assume thatnums1has enough space (size that is great...
分类:其他好文   时间:2015-07-20 10:33:13    阅读次数:108
LeeCode-Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ...
分类:其他好文   时间:2015-07-20 10:32:13    阅读次数:142
3. STM32的GPIO的深入学习
STM32的学习是一个循序渐进的过程,逐渐熟悉一个个外设,了解寄存器相关配置,然后在这基础上实现功能,路要一步步走,掌握知识多一些自然知道路得方向。GPIO是STM32最重要的外设,几乎所有外设的实现都是依托GPIO产生的,所以深入的理解,是必须的。GPIO模块回顾 在嵌入式软件应用中,这个模块.....
分类:其他好文   时间:2015-07-20 10:32:24    阅读次数:164
hdu4010 Query On The Trees
Problem DescriptionWe have met so many problems on the tree, so today we will have a query problem on a set of trees.There are N nodes, each node will...
分类:其他好文   时间:2015-07-20 10:30:30    阅读次数:92
LeeCode-Spiral Matrix II
Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following matri...
分类:其他好文   时间:2015-07-20 10:30:20    阅读次数:108
LeeCode-Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1' bits it hasFor example, the 32-bit integer ’11' has binary representatio...
分类:其他好文   时间:2015-07-20 10:29:37    阅读次数:104
十五天精通WCF——第六天 你必须要了解的3种通信模式
原文:十五天精通WCF——第六天 你必须要了解的3种通信模式 wcf已经说到第六天了,居然还没有说到这玩意有几种通信模式,惭愧惭愧,不过很简单啦,单向,请求-响应,双工模式,其中的第二种“请求-响应“ 模式,这个大家不用动脑子都清楚,这一篇我大概来分析下。 一:“请求-响应“模式 如果你看了我上一篇...
分类:其他好文   时间:2015-07-20 10:30:59    阅读次数:93
时间管理:如何把24小时变成48小时 ?
【骚年,请重视你的时间!】不会管理时间是一件蛮可怕的事情。每次看到反面的例子,都会替他们白白浪费了那么多生命而觉得纠结。在我所处的行业中,总会时常碰到一些特别爱加班的家伙。无论周末、假期、晚上十点,还是项目不忙的时候,他们都选择牺牲私生活,统统投入到加班上。在不明情况时,还会误以为他们承担了多么可怕...
分类:其他好文   时间:2015-07-20 10:28:59    阅读次数:139
Photoshop做32位带Alpha通道的bmp图片
原文链接:http://blog.sina.com.cn/s/blog_65c0cae801016e5u.html批量制作32位带Alpha通道的bmp图片,可以制作一个动作,内容可以如下:1)合并图层2) ctrl+单击图层选中图形3)copy4)在channel中新建alpha通道5)paste...
分类:其他好文   时间:2015-07-20 10:31:06    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!