Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Character Indices Sum Challenge | String Advanced
Java Extended

Character Indices Sum ChallengeCharacter Indices Sum Challenge

Tarefa

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Tudo estava claro?

Seção 3. Capítulo 5
toggle bottom row

Character Indices Sum ChallengeCharacter Indices Sum Challenge

Tarefa

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Tudo estava claro?

Seção 3. Capítulo 5
toggle bottom row
some-alt