Hello
Let's suppose I have 4 objects, and I want loop over these objects using a function involving 3 objects in each call as follows:
- MyFunction(object1, object2 , object3);
- MyFunction(object1, object2 , object4);
- ...
- MyFunction(object2, object1 , object3);
- MyFunction(object2, object1 , object4);
- ...
- MyFunction(object4, object2 , object1);
- MyFunction(object4, object2 , object3) ;
What is the general algorithm for this ?
Thanks at advance

Kashif SohailRank #1,613 · 967 reputationPosted Mar 11, 2016, 8:57 AM EST
bacetti abdelmoumen3 reputationPosted Mar 11, 2016, 8:37 PM EST