Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: String permutation

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Thanked 0 Times in 0 Posts

    Default String permutation

    s permutation

  2. #2
    Administrator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,643 Times in 2,613 Posts

    Default Re: String permutation

    Not sure what you are asking.
    One problem might be that the original value of input is changed. Should input's value be saved and the results of the replace() be stored in another variable?

    Also posted at: http://www.java-forums.org/new-java/...rmutation.html

Similar Threads

  1. Replies: 1
    Last Post: May 22nd, 2013, 08:48 PM
  2. Replies: 2
    Last Post: March 28th, 2013, 10:54 AM
  3. LAST issue! Random permutation array!
    By bankoscarpa in forum What's Wrong With My Code?
    Replies: 4
    Last Post: May 5th, 2012, 12:55 PM
  4. Replies: 1
    Last Post: April 19th, 2012, 03:46 AM
  5. [SOLVED] Permutation
    By Nahara in forum Algorithms & Recursion
    Replies: 6
    Last Post: July 6th, 2010, 06:54 PM