Java and a next_permutation Related Problem

Правка en3, от w0ws0d0gg0, 2015-11-30 16:41:15

So I've been working on this problem today in Java. I have code that finds the permutations in the correct order, i.e. A > a > B > b > C > ...

I get Time Limit Exceeded, though. Could anyone make any recommendations on how I could optimize my program? 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)