Message Boards Message Boards

0
|
2889 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to delete repeats in the list of sublists

Posted 1 year ago

Hi, I have started learning WM, and am faced with a problem: I need to delete sublists that contain repeats of numbers. For instance, sublists {1,2,3} must stay, and sublist {1,1,3} must be deleted. I know that for the bigger part of forum users this problem would be easy to solve, but I`m a newbie and hope for your help.

2 Replies

I think this gives you the same output you seek

Permutations[Table[x, {x, 1, 9}], {3}]
POSTED BY: Ahmed Elbanna
Posted 1 year ago
Select[A, DuplicateFreeQ]
POSTED BY: Hans Milton
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract