2013-10-27から1日間の記事一覧
■post summary study about algorithm.the question is "rotation the string". ex) method("abcdef", 3) -> "defabc" 問題 文字列の回転を考えます。 method("abcdef", 3) -> "defabc" メモリ富豪 一行で書けます。 def brock_reverse_no1(str, n) (str[0,n…
■post summary study about algorithm.the question is "rotation the string". ex) method("abcdef", 3) -> "defabc" 問題 文字列の回転を考えます。 method("abcdef", 3) -> "defabc" メモリ富豪 一行で書けます。 def brock_reverse_no1(str, n) (str[0,n…