Member for 2 months
1 post

20191031, 14:52 #1
Subject: Permutations Assignment 1
I have a question regarding problem 1.1.3 myPermutations:
Is the function supposed to take duplicates into account or is a naive implementation of permutations sufficient? For example is it ok for ? myPermutations([1, 2, 2], X). to outputX = [1, 2, 2] or does it have to beX = [2, 1, 2] X = [2, 2, 1] X = [1, 2, 2] X = [2, 1, 2] X = [2, 2, 1] X = [1, 2, 2] X = [2, 1, 2] X = [2, 2, 1] Thanks in advance. 
Member for 2 months
54 posts

20191105, 09:29 #2
Sorry about the late reply  we'll count both solutions as correct.

Datenschutz 
Kontakt
Powered by the Unclassified NewsBoard software, 20150713dev,
© 20032011 by Yves Goergen