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

 

dario.sonego@gmail.com > lunghissimaV2
prev  |  next  |  chance

Restituire la stringa più lunga di un vettore di stringhe. Se più stringhe hanno lunghezza massima, restituire l'ultima. Se il vettore è vuoto, restituisco la stringa vuota.


lunghissimaV2(["a", "aa", "aaa"]) → "aaa"
lunghissimaV2(["aaaa", "a", "aa"]) → "aaaa"
lunghissimaV2(["aa", "aaaa", "a", "aaa"]) → "aaaa"

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

String lunghissimaV2(String[] parole) { }

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

Copyright Nick Parlante 2017 - privacy