查询
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 307. Range Sum Query - Mutable(区间之和)
原题网址:https://leetcode.com/problems/range-sum-query-mutable/Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.The update(i, val) function mo原创 2016-04-20 07:58:00 · 619 阅读 · 0 评论 -
LeetCode 211. Add and Search Word - Data structure design(单词检索)
原题网址:https://leetcode.com/problems/add-and-search-word-data-structure-design/Design a data structure that supports the following two operations:void addWord(word)bool search(word)search(原创 2016-05-05 01:43:09 · 1198 阅读 · 0 评论