LeetCode
文章平均质量分 50
gausser
不要忘了学习
展开
-
LeetCode---206reverse-linked-list
LeetCode—reverse-linked-list链接: https://leetcode.com/problems/reverse-linked-list/题目: Reverse a singly linked list 单链表反转方法一: 每次都将第二个结点提到最前面,Solution:/** * Defini原创 2015-10-25 12:25:08 · 464 阅读 · 0 评论 -
Leetcode----205Isomorphic Strings
Leetcode—–Isomorphic Strings链接:https://leetcode.com/problems/isomorphic-strings/题目: Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can原创 2015-10-24 20:26:58 · 425 阅读 · 0 评论 -
LeetCode-----283Move Zeroes
LeetCode—–Move Zeroes链接: https://leetcode.com/problems/move-zeroes/题目: Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elem原创 2015-10-25 17:42:42 · 372 阅读 · 0 评论