关闭

Leetcode 65.valid number

参考后class Solution { public: bool isNumber(string s) { size_t n = s.size(); size_t i = 0; int nnum = 0; int npoint = 0; while (isspace(s[i])) ++i...
阅读(3) 评论(0)

Leetcode 67. Add Binary

add binary...
阅读(1) 评论(0)

Leetcode 66. plus one

plus one...
阅读(4) 评论(0)

function_bind_lambda

function_bind_lambda...
阅读(26) 评论(0)

树状数组

树状数组...
阅读(13) 评论(0)

union_find(并查集)

并查集...
阅读(9) 评论(0)

64. Minimum Path Sum

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.Note: You can only move either down or right at any...
阅读(5) 评论(0)

Effective C++ 52. Write placement delete if you write placement new

write placement delete if you write placement new...
阅读(19) 评论(0)

Leetcode 63. Unique Paths II

Follow up for “Unique Paths”:Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the grid.For ex...
阅读(12) 评论(0)

Effective C++ 45. Use member function templates to accept "all compatible types."

use member function templates to accept "all compatible types."...
阅读(9) 评论(0)

Effective C++ 44. Factor parameter-independent code out of templates

factor parameter-independent code out of templates...
阅读(10) 评论(0)

Leetcode 62. Unique Paths

unique paths...
阅读(11) 评论(0)

Leetcode 61. Rotate List

rotate list...
阅读(12) 评论(0)

Effective C++ 49. Understand the behavior of the new-handler

understand the behavior of the new-handler...
阅读(11) 评论(0)

Leetcode 59. Spiral Matrix II

spiral Matrix...
阅读(10) 评论(0)

Effective C++ 46. Define non-member functions inside templates when type conversions are desired

Define non-member functions inside templates when type conversions are desired...
阅读(11) 评论(0)

Leetcode 57. Insert Interval

insert interval...
阅读(15) 评论(0)

Leetcode 56. Merge Intervals

merge intervals...
阅读(46) 评论(0)

Effective C++ 38. Model "has-a or is-implemented-in-terms-of" through composition

Model "has-a or is-implemented-in-terms-of" through composition...
阅读(21) 评论(0)

Effective C++ 37. Never redefine a function's inherited default parameter value

never redefine a function's inheried default parameter value...
阅读(18) 评论(0)
116条 共6页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:4435次
    • 积分:1161
    • 等级:
    • 排名:千里之外
    • 原创:116篇
    • 转载:0篇
    • 译文:0篇
    • 评论:0条