You are viewing a single comment's thread. Return to all comments →
which are less than 4? [2 3 5 5 7 7 17] -> [{2},{3},{5},{2;3},{7},{2;5},{2;3;5;7}]
2 and 3 right? Why does the exercise say 3?
{2}=2, {3}=2, {2,3}=5
{2}
{3}
{2,3}
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Project Euler #249: Prime Subset Sums
You are viewing a single comment's thread. Return to all comments →
which are less than 4? [2 3 5 5 7 7 17] -> [{2},{3},{5},{2;3},{7},{2;5},{2;3;5;7}]
2 and 3 right? Why does the exercise say 3?
{2}
=2,{3}
=2,{2,3}
=5