ニュース
奥儀 その41 substring() の戦術 境界線(インデックス)を見極め、敵(文字)を正しく斬り取るべし! この戦場の配置(コードの流れ)を説明いたそう str に "abcdefg" をセット "abcdefg" は文字列プールに保存される substring(2,4) は、インデックス 2 から 4 の手前(= 3)まで 切り出す! "abcdefg" の ...
// Longest Substring - Write a function that takes a string and returns the longest substring in that string made up of the same character and the index the substring starts on, e.g. given the string ...
Given a string s and an integer k, return the maximum number of vowel letters in any substring of s with length k. Vowel letters in English are 'a', 'e', 'i', 'o', and 'u'.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する