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

 

james.shockey@austinisd.org > bigLyrics
prev  |  next  |  chance

/**
* bigLyrics
* bigLyrics Given lyrics of a song organized as a 1D array,
* count words that are greater than or equal to a given length.
*
*
* @param arr - a 1D String array
* @param len - an integer value with the size of words to count
* @return an integer containing the count of words larger
*
*/


bigLyrics(["Stay", "all", "night", "stay", "a", "little", "longer"], 5) → 3
bigLyrics(["Dance", "all", "night", "dance", "a", "little", "longer"], 3) → 6
bigLyrics(["Pull", "off", "your", "coat", "throw", "it", "in", "the", "corner"], 4) → 5

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

public int bigLyrics(String[] lyrics, int len) { }

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

Copyright Nick Parlante 2017 - privacy