# [置顶] 本博客LeetCode题解索引及各类算法问题小结汇总（C++实现）

Some explains： 1),The current problems have been solved：Welcome, EbowTang! You have solved 101 / 316 problems.(update:：2016/02/15) 2),All problems are coded with C++ 3),There are 333 problems (about 54 problems for a fee). 4),I will update this article fo...

# [置顶] 珍藏文：花10钟看一看少走30年弯路

HP大中华区总裁孙振耀退休感言： 　　如果这篇文章没有分享给你，那是我的错。 　　如果这篇文章分享给你了，你却没有读，继续走弯路的你不要怪我。 　　如果你看了这篇文章，只读了一半你就说没时间了，说明你已经是个“茫”人了。 一，string类的常用函数 构造函数： string(const char *s); //用c字符串s初始化string(int n,cha...

# Linux基本命令介绍

1.man    显示命令的详细信息      clear清屏命令   cd- -help mkdir- - help查看命令的帮助信息   2.date / cal / whowhoami查看日期、日历、登录的用户、当前登录用户    非图形界面切换使用   3.ifconfig查看网络连接   4.pwd命令   “print working directory”（打印当前工作...

# <LeetCode OJ> 389. Find the Difference

Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at a random position. Find the letter that was...

# <LeetCode OJ> 387. First Unique Character in a String

Total Accepted: 4516 Total Submissions: 10603 Difficulty: Easy Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: s ...

# <LeetCode OJ> 382. Linked List Random Node

Given a singly linked list, return a random node's value from the linked list. Each node must have the same probability of being chosen. Follow up: What if the linked list is extremely large and i...

# <LeetCode OJ> 383. Ransom Note

Given  an  arbitrary  ransom  note  string  and  another  string  containing  letters from  all  the  magazines,  write  a  function  that  will  return  true  if  the  ransom   note  can  be  constru...

# <LeetCode OJ> 374. Guess Number Higher or Lower

We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wrong, I'll tell you whether the number is higher...

# <LeetCode OJ> 371. Sum of Two Integers

Total Accepted: 3722 Total Submissions: 6898 Difficulty: Easy Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example: Given a = 1 and b =...

# <LeetCode OJ> 241. Different Ways to Add Parentheses

Total Accepted: 23674 Total Submissions: 65569 Difficulty: Medium Given a string of numbers and operators, return all possible results from computing all the different possible ways to grou...

# <LeetCode OJ> 334. Increasing Triplet Subsequence

Total Accepted: 16003 Total Submissions: 46481 Difficulty: Medium Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the func...

# <LeetCode OJ> 318. Maximum Product of Word Lengths

Total Accepted: 23617 Total Submissions: 58995 Difficulty: Medium Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share...

# <LeetCode OJ> 173. Binary Search Tree Iterator

Total Accepted: 50775 Total Submissions: 144066 Difficulty: Medium Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Cal...

# <LeetCode OJ> 357. Count Numbers with Unique Digits

Total Accepted: 450 Total Submissions: 1077 Difficulty: Medium Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x n. Example: Given n = 2, return 91. (Th...

# <LeetCode OJ> 60. Permutation Sequence

Total Accepted: 56468 Total Submissions: 221337 Difficulty: Medium The set [1,2,3,…,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in orde...

# <LeetCode OJ> 114. Flatten Binary Tree to Linked List

Total Accepted: 84864 Total Submissions: 270352 Difficulty: Medium Given a binary tree, flatten it to a linked list in-place. For example, Given 1 / \ 2 5...

289条 共15页1 2 3 4 5 ... 下一页 尾页
个人资料
• 访问：505878次
• 积分：7715
• 等级：
• 排名：第2866名
• 原创：239篇
• 转载：50篇
• 译文：0篇
• 评论：161条
博客专栏
 数据结构与算法 文章：34篇 阅读：88066
 图像处理算法 文章：22篇 阅读：90243
 LeetCode解题报告 文章：146篇 阅读：180383
 九度OJ解题报告 文章：22篇 阅读：28091
个人介绍
非CS科班出身，喜欢用C/C++思考数学 ，专注于图像处理和软件开发！本博客基于交流和记录学习的历程为目的，与诸君共勉，欢迎交流。同时，博文有不少文字并非一字一字地敲打，若侵权，请联系本人，

E-mail：tangyb7172@foxmail.com
博客内链
最新评论