wu :: forums
« wu :: forums - combination of strings with characters removed »

Welcome, Guest. Please Login or Register.
May 3rd, 2024, 8:16am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   cs
(Moderators: Icarus, Eigenray, william wu, SMQ, Grimbal, towr, ThudnBlunder)
   combination of strings with characters removed
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: combination of strings with characters removed  (Read 578 times)
ONS
Newbie
*





   


Gender: male
Posts: 41
combination of strings with characters removed  
« on: Jul 15th, 2009, 1:37am »
Quote Quote Modify Modify

write a function that accepts a string and a no. x and prints all possible combinations with those x nos. removed.
e.g. if you call COMBI ("abcde", 2)
OUTPUT should be: abc, abd, abe, acd, ace, ade, bcd, bce, bde, cde
 
i myself got this ques from some other place, so pls assume suitably.
this is an adobe question.
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: combination of strings with characters removed  
« Reply #1 on: Jul 15th, 2009, 2:09am »
Quote Quote Modify Modify

It was posted before here
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board