自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

硅谷

一个程序员的成长历程

  • 博客(104)
  • 资源 (3)
  • 收藏
  • 关注

原创 hihoCoder_1014

#include <iostream> #include <string>using namespace std;//字典树节点定义typedef struct Trie{ Trie* child[26]; int num; Trie(){ for(auto &a:child) a=NULL; num=1; }}Trie;//字

2016-07-20 20:40:20 521

原创 hihoCoder_A+B

A+B Problem描述求两个整数A+B的和。输入输入包含多组数据。每组数据包含两个整数A(1 ≤ A ≤ 100)和B(1 ≤ B ≤ 100)。输出对于每组数据输出A+B的和。样例输入1 2 3 4 5 6 样例输出3 7 11#include <iostream>using namespace std;int main(){ int a,b; while(cin>>

2016-07-20 20:02:10 428

原创 LeetCode——056

/* 56. Merge Intervals My Submissions QuestionEditorial Solution Total Accepted: 65444 Total Submissions: 258498 Difficulty: Hard Given a collection of intervals, merge all overlapping intervals.F

2016-04-24 16:23:52 770

原创 LeetCode——055

/* 55. Jump Game My Submissions QuestionEditorial Solution Total Accepted: 76258 Total Submissions: 270540 Difficulty: Medium Given an array of non-negative integers, you are initially positioned

2016-04-24 15:43:56 424

原创 LeetCode——054

/* 54. Spiral Matrix My Submissions QuestionEditorial Solution Total Accepted: 57679 Total Submissions: 256710 Difficulty: Medium Given a matrix of m x n elements (m rows, n columns), return all e

2016-04-24 13:50:38 362

原创 LeetCode——053

/* 53. Maximum Subarray My Submissions QuestionEditorial Solution Total Accepted: 108862 Total Submissions: 297759 Difficulty: Medium Find the contiguous subarray within an array (containing at le

2016-04-24 13:15:30 347

原创 LeetCode——052

/* Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions. Subscribe to see which companies asked this question */ /* 解题思路: 跟上一

2016-04-24 12:42:53 390

原创 LeetCode——051

/* 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, return all distinct solutions to the n-queens puzzle.Ea

2016-04-24 12:15:33 377

原创 LeetCode——050

/* 50. Pow(x, n) My Submissions QuestionEditorial Solution Total Accepted: 88936 Total Submissions: 319149 Difficulty: Medium Implement pow(x, n).Subscribe to see which companies asked this questi

2016-04-24 11:12:26 346

原创 LeetCode——049

/* 49. Group Anagrams My Submissions QuestionEditorial Solution Total Accepted: 73397 Total Submissions: 267525 Difficulty: Medium Given an array of strings, group anagrams together.For example, g

2016-04-24 10:53:01 364

原创 LeetCode——048

/* 48. Rotate Image My Submissions QuestionEditorial Solution Total Accepted: 66533 Total Submissions: 192145 Difficulty: Medium You are given an n x n 2D matrix representing an image.Rotate the i

2016-04-24 10:22:22 305

原创 Leetcode——047

/* 47. Permutations II My Submissions QuestionEditorial Solution Total Accepted: 69185 Total Submissions: 247339 Difficulty: Medium Given a collection of numbers that might contain duplicates, ret

2016-04-24 10:03:21 475

转载 网络常见面试题

1 、 OSI ( Open System Interconnect ):开放系统互联,是一个七层的计算机网络模型,分别为:物理层、数据链路层、网络层、传输层、会话层、表示层和应用层。 TCP/IP ( Transmission Control Protocol/Internet Protocol ):传输控制协议 / 因特网互联协议,是一个四层的计算机网络模型,分别为:网络接口层、网络层、传输层

2016-04-18 11:21:50 441

转载 操作系统常见面试题

1、什么是进程(Process)和线程(Thread)?有何区别?  进程是具有一定独立功能的程序关于某个数据集合上的一次运行活动,进程是系统进行资源分配和调度的一个独立单位。线程是进程的一个实体,是CPU调度和分派的基本单位,它是比进程更小的能独立运行的基本单位。线程自己基本上不拥有系统资源,只拥有一点在运行中必不可少的资源(如程序计数器,一组寄存器和栈),但是它可与同属一个进程的其他的线程共享进

2016-04-18 11:18:54 556

原创 LeetCode——045

/* 45. Jump Game II My Submissions QuestionEditorial Solution Total Accepted: 62218 Total Submissions: 246687 Difficulty: Hard Given an array of non-negative integers, you are initially positioned

2016-04-17 16:15:26 500

原创 LeetCode——044

/* 44. Wildcard Matching My Submissions QuestionEditorial Solution Total Accepted: 55229 Total Submissions: 317656 Difficulty: Hard Implement wildcard pattern matching with support for ‘?’ and ‘*’

2016-04-17 15:35:07 309

原创 LeetCode——043

/* 43. Multiply Strings My Submissions QuestionEditorial Solution Total Accepted: 59659 Total Submissions: 255286 Difficulty: Medium Given two numbers represented as strings, return multiplication

2016-04-17 11:42:13 452

原创 LeetCode——042

/* 42. Trapping Rain Water My Submissions QuestionEditorial Solution Total Accepted: 64262 Total Submissions: 200013 Difficulty: Hard Given n non-negative integers representing an elevation map wh

2016-04-17 11:24:39 281

原创 LeetCode——041

/* 41. First Missing Positive My Submissions QuestionEditorial Solution Total Accepted: 62613 Total Submissions: 263261 Difficulty: Hard Given an unsorted integer array, find the first missing pos

2016-04-17 10:59:58 431

原创 LeetCode——040

/* 40. Combination Sum II My Submissions QuestionEditorial Solution Total Accepted: 66386 Total Submissions: 241547 Difficulty: Medium Given a collection of candidate numbers (C) and a target numb

2016-04-17 10:32:45 322

原创 LeetCode——039

/* 39. Combination Sum My Submissions QuestionEditorial Solution Total Accepted: 88140 Total Submissions: 286018 Difficulty: Medium Given a set of candidate numbers (C) and a target number (T), fi

2016-04-17 10:18:33 353

原创 LeetCode——038

/* 38. Count and Say My Submissions QuestionEditorial Solution Total Accepted: 78365 Total Submissions: 271881 Difficulty: Easy The count-and-say sequence is the sequence of integers beginning as

2016-04-17 09:46:27 389

原创 LeetCode——037

/* 37. Sudoku Solver My Submissions QuestionEditorial Solution Total Accepted: 48543 Total Submissions: 195911 Difficulty: Hard Write a program to solve a Sudoku puzzle by filling the empty cells.

2016-04-17 09:15:14 481

原创 LeetCode——036

/*Valid Sudoku My Submissions QuestionEditorial Solution Total Accepted: 71051 Total Submissions: 233215 Difficulty: Easy Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.

2016-04-17 08:42:30 237

原创 LeetCode——035

/* 35. Search Insert Position My Submissions QuestionEditorial Solution Total Accepted: 102229 Total Submissions: 274634 Difficulty: Medium Given a sorted array and a target value, return the inde

2016-04-16 21:02:01 241

原创 LeetCode——034

/* 34. Search for a Range My Submissions QuestionEditorial Solution Total Accepted: 80156 Total Submissions: 275867 Difficulty: Medium Given a sorted array of integers, find the starting and endin

2016-04-16 20:28:14 358

原创 LeetCode——033

/* 33. Search in Rotated Sorted Array My Submissions QuestionEditorial Solution Total Accepted: 98590 Total Submissions: 326117 Difficulty: Hard Suppose a sorted array is rotated at some pivot unk

2016-04-16 19:28:37 318

原创 LeetCode——032

/* 32. Longest Valid Parentheses My Submissions QuestionEditorial Solution Total Accepted: 60805 Total Submissions: 271732 Difficulty: Hard Given a string containing just the characters ‘(’ and ‘)

2016-04-16 18:29:55 271

原创 LeetCode——031

/* 31. Next Permutation My Submissions QuestionEditorial Solution Total Accepted: 63632 Total Submissions: 240911 Difficulty: Medium Implement next permutation, which rearranges numbers into the l

2016-04-16 17:40:37 262

原创 LeetCode——030

/* 30. Substring with Concatenation of All Words My Submissions QuestionEditorial Solution Total Accepted: 53094 Total Submissions: 255639 Difficulty: Hard You are given a string, s, and a list of

2016-04-16 17:15:49 387

原创 LeetCode——029

/* 29. Divide Two Integers My Submissions QuestionEditorial Solution Total Accepted: 64690 Total Submissions: 413492 Difficulty: Medium Divide two integers without using multiplication, division a

2016-04-16 16:04:36 411

原创 LeetCode——028

/* 28. Implement strStr() My Submissions QuestionEditorial Solution Total Accepted: 102448 Total Submissions: 413336 Difficulty: Easy Implement strStr().Returns the index of the first occurrence o

2016-04-16 15:47:19 526

原创 LeetCode——027

/* 27. Remove Element My Submissions QuestionEditorial Solution Total Accepted: 112934 Total Submissions: 335498 Difficulty: Easy Given an array and a value, remove all instances of that value in

2016-04-16 15:38:35 216

原创 LeetCode——026

/* 26. Remove Duplicates from Sorted Array My Submissions QuestionEditorial Solution Total Accepted: 125285 Total Submissions: 375347 Difficulty: Easy Given a sorted array, remove the duplicates i

2016-04-16 15:29:02 327

原创 LeetCode——025

/* 25. Reverse Nodes in k-Group My Submissions QuestionEditorial Solution Total Accepted: 57696 Total Submissions: 210241 Difficulty: Hard Given a linked list, reverse the nodes of a linked list k

2016-04-16 15:18:22 363

原创 LeetCode——024

/* 24. Swap Nodes in Pairs My Submissions QuestionEditorial Solution Total Accepted: 92808 Total Submissions: 264576 Difficulty: Easy Given a linked list, swap every two adjacent nodes and return

2016-04-16 12:07:57 312

原创 LeetCode——023

/* 23. Merge k Sorted Lists My Submissions QuestionEditorial Solution Total Accepted: 82416 Total Submissions: 354043 Difficulty: Hard Merge k sorted linked lists and return it as one sorted list.

2016-04-16 11:49:18 216

原创 LeetCode——022

/* 22. Generate Parentheses My Submissions QuestionEditorial Solution Total Accepted: 85070 Total Submissions: 231341 Difficulty: Medium Given n pairs of parentheses, write a function to generate

2016-04-16 11:26:40 353

原创 LeetCode——021

/* 21. Merge Two Sorted Lists My Submissions QuestionEditorial Solution Total Accepted: 122136 Total Submissions: 345783 Difficulty: Easy Merge two sorted linked lists and return it as a new list.

2016-04-16 10:55:59 299

原创 LeetCode——020

/* 20. Valid Parentheses My Submissions QuestionEditorial Solution Total Accepted: 103991 Total Submissions: 355405 Difficulty: Easy Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}

2016-04-16 10:39:20 280

VC++开发实例

使用VC开发的简单浏览器,对初学VC的很实用,希望能给爱好VC的朋友以帮助

2013-04-02

数据库课程设计

数据库课程设计,死亡游戏,二叉树,交通咨询系统设计,迷宫设计

2011-07-10

空空如也

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

TA关注的人

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