LeetCode 题目整理
文章平均质量分 80
LintaoD
勤学阶段!!
展开
-
剑指offer题目集
剑指 offer 算法题1. 二维数组中的查找 在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。class Solution {public: bool Find(int target, vector<vector&...原创 2018-08-09 08:56:35 · 265 阅读 · 0 评论 -
LeetCode(1-50)
LeetCode 编程1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one soluti...原创 2018-08-09 09:00:22 · 897 阅读 · 0 评论 -
LeetCode(51-100)
LeetCode(51-100)51. 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, return all distinct ...原创 2018-08-10 18:13:21 · 391 阅读 · 0 评论 -
LeetCode(101-150)
LeetCode(101-150)原创 2018-08-16 14:32:34 · 608 阅读 · 0 评论