Daily Challenge (246 Part Series)
Given a string, capitalize the letters that occupy even indexes and odd indexes separately, and return as shown below. Index 0 will be considered even.
['AbCdEf', 'aBcDeF']. The input will be a lowercase string with no spaces.
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!
Claim your page on DEV before someone else does
Level up every day