算法
文章平均质量分 74
mary441
这个作者很懒,什么都没留下…
展开
-
2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return原创 2018-01-31 12:03:00 · 148 阅读 · 0 评论 -
leetcode 461. Hamming Distance 解题报告
题目描述: The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note:原创 2018-01-26 17:59:13 · 180 阅读 · 0 评论 -
leetcode 760. Find Anagram Mappings
Given two lists Aand B, and B is an anagram of A. B is an anagram of A means B is made by randomizing the order of the elements in A. We want to find an index mapping P, from A to B. A mapp原创 2018-01-26 18:06:31 · 346 阅读 · 0 评论 -
leetcode 657. Judge Route Circle
题目描述: Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the original place. The move sequence is represe原创 2018-01-26 21:33:22 · 158 阅读 · 0 评论 -
1. Two Sum java
题目描述: 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原创 2018-01-30 16:38:28 · 301 阅读 · 0 评论