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


String-2 > endOther
prev  |  next  |  chance

Given two strings, return true if either of the strings appears at the very end of the other string, ignoring upper/lower case differences (in other words, the computation should not be "case sensitive"). Note: str.toLowerCase() returns the lowercase version of a string.

endOther("Hiabc", "abc") → true
endOther("AbC", "HiaBc") → true
endOther("abc", "abXabc") → true

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

public boolean endOther(String a, String b) { }

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

Copyright Nick Parlante 2017 - privacy