Hackerrank 30 days of code Java Solution: Day 7: Arrays

Task Given an array, , of integers, print ‘s elements in reverse order as a single line of space-separated numbers. Sample Input

Sample Output

Continue reading

Hackerrank 30 days of code Java Solution: Day 6: Lets Review

Task Given a string, , of length that is indexed from to , print its even-indexed and odd-indexed characters as space-separated strings on a single line (see the Sample below for more detail). Note: is considered to be an even index. Sample Input

Sample Output

Thanks For…

Continue reading