2019年1月9日

Leetcode 683. K Empty Slots

摘要: Problem: There is a garden with N slots. In each slot, there is a flower. The N flowers will bloom one by one in N days. In each day, there will be ex 阅读全文

posted @ 2019-01-09 15:26 周浩炜 阅读(175) 评论(0) 推荐(0) 编辑

Leetcode 642. Design Search Autocomplete System

摘要: Problem: Design a search autocomplete system for a search engine. Users may input a sentence (at least one word and end with a special character '#'). 阅读全文

posted @ 2019-01-09 13:08 周浩炜 阅读(304) 评论(0) 推荐(0) 编辑

Leetcode 403. Frog Jump

摘要: Problem: A frog is crossing a river. The river is divided into x units and at each unit there may or may not exist a stone. The frog can jump on a sto 阅读全文

posted @ 2019-01-09 06:35 周浩炜 阅读(104) 评论(0) 推荐(0) 编辑

Leetcode 940. Distinct Subsequences II

摘要: Problem: Given a string S, count the number of distinct, non-empty subsequences of S . Since the result may be large, return the answer modulo 10^9 + 阅读全文

posted @ 2019-01-09 06:15 周浩炜 阅读(409) 评论(0) 推荐(0) 编辑

导航