Java and a next_permutation Related Problem

Правка en2, от w0ws0d0gg0, 2015-11-30 07:29:47

So I've been working on this problem today in Java. I feel like I'm coming close to possibly having AC, but I've run into an issue of not being able to sort the list of permutations of a string that I have in such a way that A > a > B > b > C > ... Is there a way to overcome this?

Has anyone been in this sort of situation before? Could I avoid this situation altogether by taking a separate route in solving this problem. Below is my code. Thanks for reading.

My code here!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский w0ws0d0gg0 2015-11-30 16:41:15 330
en2 Английский w0ws0d0gg0 2015-11-30 07:29:47 4674 (published)
en1 Английский w0ws0d0gg0 2015-11-30 07:26:04 5197 Initial revision (saved to drafts)