You are viewing a single comment's thread. Return to all comments →
I don't like this problem.
Leaves a lot of room for error.
Seems like cookies are disabled on this browser, please enable them to open this website
No Idea!
You are viewing a single comment's thread. Return to all comments →
I don't like this problem.
1 The guidelines aren't clear, so you could simply write code that just takes in input as n, m and doesn't require any restrictions on m.
2 You have A and B sets, but what if m = 4? Would you have A,B,C, and D sets or do you simply just raise an exception if its over 2?
Leaves a lot of room for error.