Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 30a80e1

Browse files
fix format
1 parent 63edc36 commit 30a80e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎Kangli/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ if count > 1. Return the length of new array at the end.
2929
[Submission](https://github.com/kanglicheng/python-leetcode/blob/mySolutions/Kangli/Strings/stringCompression.py)
3030

3131
10/27/17
32+
3233
**219: Contains Duplicate II-** Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute difference between i and j is at most k.
3334
Thoughts:
3435
Use a dictionary to store each integer and its index in nums as key, value pairs.
@@ -50,6 +51,7 @@ Thoughts: Using a dictionary (hash), insert each sorted string into the dictiona
5051
[Submission](https://github.com/kanglicheng/python-leetcode/blob/mySolutions/Kangli/Hash%20Table/group_anagrams.py)
5152

5253
11/7/17
54+
5355
**206: Reverse Linked List**
5456
Have access to the head of the linked list. Want to reverse the pointers and make the original head point to null (end of list).
5557
1) Recursively, we begin with the base case of returning head if head is null or head.next is null.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /