id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

arrayEvenPosition


Given an array of integers named nums, write the method arrayEvenPosition such that it returns a String with all of the elements that are in even indices concatenated.


arrayEvenPosition([12, 34, 56, 78, 90]) → "125690"
arrayEvenPosition([123, 345, 567, 789]) → "123567"
arrayEvenPosition([1111112, 2]) → "1111112"

...Save, Compile, Run (ctrl-enter)

public String arrayEvenPosition(int [] nums){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 200

Copyright Nick Parlante 2017 - privacy