jmhaas / Java2JavaScript-Lab-3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions

Use the provided html/css/js files and folders to implement the following methods.

Conditional Logic, Looping, and Arrays

#Assignment 1: Write a function the combines two arrays by alternately taking elements. For example: given the two arrays [‘a’ , ‘b’ , ‘c’] and [‘1’ , ‘2’ , ‘3’], the function should return [‘a’ , ‘1’ , ‘b’ , ‘2’ , ‘c’ , ‘3’]

#Assignment 1: Write a function that when given an array of nonnegative integers, arranges them such that they form the largest possible number. For example, given [50, 2, 1, 9], the largest formed number is 95021

About


Languages

Language:CSS 62.8%Language:HTML 32.0%Language:JavaScript 5.3%