Learn to Code at the Denver Library Message Board › 8/11/14 Challenges & Links

8/11/14 Challenges & Links

Drew P.
Denver, CO
Post #: 1

Create a "Hello, world!" webpage, and give the background your favorite color.

Intermediate: (coderbyte.com, see LongestWord)

Create a function, which takes a string parameter being passed and return the largest word in the string. If there are two or more words that are the same length, return the first word from the string with that length. Ignore punctuation.

Advanced?: (coderbyte.com, see ArrayAddition)

Subset Sum Problem—
Have the function ArrayAdditionI(arr) take the array of numbers stored in arr and return the string true if any combination of numbers in the array can be added up to equal the largest number in the array, otherwise return the string false. For example: if arr contains [4, 6, 23, 10, 1, 3] the output should return true because 4 + 6 + 10 + 3 = 23. The array will not be empty, will not contain all the same elements, and may contain negative numbers.
Drew P.
Denver, CO
Post #: 2
Intros to the internet & web:

Start coding:

Library cheat sheets:

Text editors:

Powered by mvnForum

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy