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

 

pais@kinetigram.com > A215_front11
prev  |  next  |  chance

APCS Array 2, Problem 15. Given 2 int arrays, a and b, of any length, return a new array with the first element of each array. If either array is length 0, ignore that array.


A215_front11([1, 2, 3], [7, 9, 8]) → [1, 7]
A215_front11([1], [2]) → [1, 2]
A215_front11([3], [1, 4, 1, 9]) → [3, 1]

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

public int[] A215_front11(int[] a, int[] b) { }

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: 100

Copyright Nick Parlante 2017 - privacy