自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

SENLINZM的专栏

志向千里

  • 博客(23)
  • 资源 (8)
  • 收藏
  • 关注

原创 Remove Duplicates from Sorted Array

问题描述解决方案

2014-09-02 23:48:00 513

原创 Binary Tree Postorder Traversal

问题描述Given a binary tree, return the postorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [3,2,1].Note: Recur

2014-09-02 21:07:53 644

原创 Valid Parentheses

问题描述Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the correct order, "()" and "()[]{}" 

2014-09-02 19:47:04 613

原创 Add Two Numbers

问题描述You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers

2014-09-02 19:04:09 773

原创 Binary Tree Preorder Traversal

问题描述Given a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,2,3].Note: Recurs

2014-09-02 16:47:02 722

原创 Evaluate Reverse Polish Notation

问题描述解决方案

2014-09-01 23:57:17 501

原创 Maximum Depth of Binary Tree

问题描述Given 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.解决方案/** * Definition fo

2014-09-01 22:47:20 665

原创 Pascal's Triangle

问题描述Given numRows, generate the first numRows of Pascal's triangle.For example, given numRows = 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]]

2014-09-01 16:37:46 595

原创 Reverse Integer

问题描述Example1: x = 123, return 321Example2: x = -123, return -321Have you thought about this?Here are some good questions to ask before coding. Bonus points for you if you have already

2014-09-01 15:10:30 612

原创 Same Tree

问题描述Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value.解决

2014-09-01 14:35:21 653

原创 Valid Palindrome

判断回文字符串

2014-08-31 22:49:28 825

原创 Reverse Words in a String

问题描述Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".解决方案public class Solution { public String reverseWord

2014-08-31 21:44:35 660

原创 Plus One

问题描述Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.

2014-08-31 21:35:34 646

原创 C++11 array使用详解

C++11中的array使用详解

2014-08-19 15:47:48 11569

原创 队列的实现

实现Deque类Java版本

2014-07-29 22:35:12 698 1

原创 栈的实现

使用链表的方式来实现栈

2014-07-28 11:56:43 659

原创 初识Servlet(一)

Servlet程序运行在服务端上,当客户

2014-06-29 15:21:11 749

原创 初识JavaFX(二)

import javafx.application.Application;import javafx.geometry.Pos;import javafx.geometry.HPos;import javafx.geometry.Insets;import javafx.scene.Scene;import javafx.scene.control.Button;import jav

2014-06-28 17:29:21 1756

原创 初识JavaFX (一)

import javafx.application.Application;import javafx.scene.Scene;import javafx.scene.control.Button;import javafx.stage.Stage;public class Program extends Application{ @Override public vo

2014-06-28 10:05:28 1130

原创 Qt-旋转图案

taowidget.h#ifndef _TAOWIDGET_H_#define _TAOWIDGET_H_#include class QTimer;class TaoWidget : public QWidget{public: TaoWidget( QWidget * = 0 ); protected: void paintEvent( QPai

2014-04-23 17:35:19 1059

原创 Qt打砖块游戏

程序由自定义的 5 个类构成:     • Ball 类代表小球,包含小球所在矩形于窗格 (frame) 中的位置,另外,小球还包含变量来表示小球的颜色、运动速度等属性。• Brick 类代表砖块,砖块同样包含尺寸、方位、颜色这些信息。• Paddle 类代表划浆,划浆包含移动步长、方位、颜色这些信息。• Game 类代表游戏窗格,用来直接控制小球的运行,划浆的移动,及砖块的绘

2014-04-06 13:37:17 6982 6

原创 Qt-信号映射器

numerickeypad.h#ifndef _NUMERICKEYPAD_H_#define _NUMERICKEYPAD_H_#include class QPushButton;class QLineEdit;class NumericKeypad : public QWidget{ Q_OBJECT public: NumericKeypa

2014-03-22 23:15:14 2441

原创 Qt-文本绘制

drawtext.h#ifndef _DRAWTEXT_H_#define _DRAWTEXT_H_#include #include class DrawText : public QWidget{ public: DrawText( QWidget * = 0 ); protected: void paintEvent( QPaintEvent *

2014-03-22 22:59:21 815

Qt打砖块游戏

Qt打砖块游戏,原创。游戏分为逻辑处理部分和GUI部分,砖块产生随机颜色。并且,游戏可设置关卡。

2014-04-13

JAVA设计模式 经典

经典的java设计模式的书,学习设计模式的好书

2013-11-24

JAVA核心技术(第9版)基础知识+高级特性

java核心技术,基础知识和高级特性,第9版,最新版

2013-11-10

冈萨雷斯 数字图像处理MATLAB第二版课本配套全部资源

冈萨雷斯最新的数字图像处理MATLAB第二版的全部资源,包括书中所有图片和源代码,包括工程指导(project-solution)。是学习数字图像处理的好资源。

2013-10-21

java编程思想第四版高清中文版+全部习题解答

最好的JAVA学习资料,java编程思想第四版,高清中文版,还包括所有习题的解答,习题解答为PDF版

2013-10-16

c++程序设计(英文版)

学习c++的经典书籍,原书英文版。帮助你学好编程,深入的讲解,解疑释难,让你的编程技术更上一个台阶,相信吧

2013-04-29

空空如也

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

TA关注的人

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