message: Update plates-between-candles.py
diff: @@ -8,14 +8,14 @@ class Solution(object):
  :type queries: List[List[int]]
  :rtype: List[int]
  """
  - left, prefix = [0]*len(s), [0]*len(s)
  + left, prefix = [0]*len(s), {}
  curr, cnt = -1, 0
  for i in xrange(len(s)):
  if s[i] == '|':
  curr = i
  cnt += 1
  - left[i] = curr
  prefix[i] = cnt
  + left[i] = curr
  right = [0]*len(s)
  curr = len(s)
  for i in reversed(xrange(len(s))):
  