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

 

abraskin@mbusd.org 2016_student_creations_01 > organize
prev  |  next  |  chance

When given a 4 character long string, organize it first into pairs, then organize the letters in the pair so they are in lexicographical order, then organize the pairs so they are in lexicographical order with each other. If the pairs are equal with each other, return "EQUAL".


organize("BAAB") → "ABAB"
organize("meme") → "emem"
organize("nerd") → "dren"

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

public String organize(String byeah){ }

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: 100 Post-solution available

Copyright Nick Parlante 2017 - privacy