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.
I am guessing they mean that if the initial array contains dublicate elements, then this number of dublicate elements is allowed. E.g. if the array is {a, a, a} then possible multisets are {a}, {a, a}, {a, a, a}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Prime XOR
You are viewing a single comment's thread. Return to all comments →
I am guessing they mean that if the initial array contains dublicate elements, then this number of dublicate elements is allowed. E.g. if the array is {a, a, a} then possible multisets are {a}, {a, a}, {a, a, a}