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

 

shortestLength3


public int shortestLength3(String text1, String word2, String phrase3)

Given THREE strings, return the length of the shortest one.


shortestLength3("who", "is", "that") → 2
shortestLength3("why", "bother", "me") → 2
shortestLength3("medicine", "doctor", "surgeon") → 6

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

public int shortestLength3(String text1, String word2, String phrase3) { }

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

Copyright Nick Parlante 2017 - privacy