2018年3月29日

摘要: 题目: Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adj 阅读全文

posted @ 2018-03-29 20:03 wangziyan 阅读(395) 评论(0) 推荐(0)

摘要: 题目: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the 阅读全文

posted @ 2018-03-29 13:50 wangziyan 阅读(166) 评论(0) 推荐(1)

摘要: 题目: 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 co 阅读全文

posted @ 2018-03-29 09:17 wangziyan 阅读(231) 评论(0) 推荐(0)