Java and a next_permutation Related Problem

Revision en3, by 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!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English w0ws0d0gg0 2015-11-30 16:41:15 330
en2 English w0ws0d0gg0 2015-11-30 07:29:47 4674 (published)
en1 English w0ws0d0gg0 2015-11-30 07:26:04 5197 Initial revision (saved to drafts)