Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
lets say the current size of vector is n+1thenreverse (0,n)reverse (0,n-k)reverse (n-k+1,n)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
1 comment:
lets say the current size of vector is n+1
Reply Deletethen
reverse (0,n)
reverse (0,n-k)
reverse (n-k+1,n)