- 博客(3)
- 收藏
- 关注
原创 329. Longest Increasing Path in a Matrix
问题描述:Given an integer matrix, find the length of the longest increasing path.From each cell, you can either move to four directions: left, right, up or down. You may NOT move diagonally or move outside
2017-09-25 08:30:38 559
原创 Two question about Divide and Conquer
这星期算法课刚好讲到分治算法,便在leetcode上面找了两道关于分治算法的练习题来练练手。第一题:169. Majority Element Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.
2017-09-17 11:26:28 451
原创 leetcode 445. Add Two Numbers II
leetcode 445. Add Two Numbers II题面:You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contain a single digit
2017-09-10 12:30:50 333
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人