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.


>> REGISTER NOW TO START POSTING


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
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default String permutation

    s permutation


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    20,973
    Thanks
    51
    Thanked 2,269 Times in 2,241 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
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Replies: 1
    Last Post: May 22nd, 2013, 07:48 PM
  2. Replies: 2
    Last Post: March 28th, 2013, 09: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, 11:55 AM
  4. Replies: 1
    Last Post: April 19th, 2012, 02:46 AM
  5. [SOLVED] Permutation
    By Nahara in forum Algorithms & Recursion
    Replies: 6
    Last Post: July 6th, 2010, 05:54 PM