![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
文章平均质量分 59
truffle528
这个作者很懒,什么都没留下…
展开
-
leetcode: 832 - Flipping an Image
前言 我本科的数据结构与算法学得并不好,现在的记忆也比较模糊了,而对于算法工程师而言,编程思想和能力却是必不可少的,所以我决定从今天开始刷leetcode,计划是先从array、string、tree、linkedlist、math五个tag开始,按照easy到medium到hard的顺序(hard暂时先放过,这次以过知识点为主),以过年为期限系统实践一遍数据结构与算法。 ...原创 2018-12-07 16:51:38 · 183 阅读 · 0 评论 -
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 solution, and you may not use th...原创 2018-12-09 18:10:21 · 193 阅读 · 0 评论 -
leetcode:167. Two Sum II - Input array is sorted
目录 题目描述 实现 1.哈希表 2.二分查找法 3.双指针法 题目描述 Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function twoS...原创 2018-12-10 11:32:57 · 247 阅读 · 0 评论 -
leetcode:206 - Reverse Linked List
目录 题目描述 实现 1.迭代法 2.递归法 题目描述 Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow up: A linked list can be r...原创 2018-12-10 17:55:00 · 249 阅读 · 0 评论