We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Maybe try (n*(n-1)) if n-1 is not correct, I'm not 100% sure too.
Reasons:
1.1 is not correct.
2.n-1 and n*(n-1)/2 is not correct because people tried it but didn't get any points after submitting.
So (n*(n-1)) is probably the answer.
Data Structures MCQ 1
You are viewing a single comment's thread. Return to all comments →
Maybe try (n*(n-1)) if n-1 is not correct, I'm not 100% sure too. Reasons: 1.1 is not correct. 2.n-1 and n*(n-1)/2 is not correct because people tried it but didn't get any points after submitting. So (n*(n-1)) is probably the answer.