parameters: (self, s)
docstring: :type s: a list of 1 length strings (List[str])
          :rtype: nothing
docstring_summary: :type s: a list of 1 length strings (List[str])
          :rtype: nothing
docstring_tokens: : type s : a list of 1 length strings ( List [ str ] ) : rtype : nothing
function: def reverseWords(self, s):
          """
          :type s: a list of 1 length strings (List[str])
          :rtype: nothing
          """
          def reverse(s, begin, end):
              for i in xrange((end - begin) / 2):
                  s[begin + i], s[end - 1 - i] = s[end - 1 - i], s[begin + i]
  
          reverse(s, 0, len(s))
          i = 0
          for j in xrange(len(s) + 1):
              if j == len(s) or s[j] == ' ':
                  reverse(s, i, j)
                  i = j + 1
function_tokens: def reverseWords ( self , s ) : def reverse ( s , begin , end ) : for i in xrange ( ( end - begin ) / 2 ) : s [ begin + i ] , s [ end - 1 - i ] = s [ end - 1 - i ] , s [ begin + i ] reverse ( s , 0 , len ( s ) ) i = 0 for j in xrange ( len ( s ) + 1 ) : if j == len ( s ) or s [ j ] == ' ' : reverse ( s , i , j ) i = j + 1