jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Tech / Stack Overflow · hot matching “input”

1 shown · updated 6m ago · read only
  1. HackerRank won't accept my code for the Set .discard(), .remove() & .pop() challenge (stackoverflow.com)stack

    14 points by David Willis in stackoverflow.com · 3y ago · stack

    Here's the prompt: You have a non-empty set s, and you have to execute N commands given in N lines. The commands will be pop, remove and discard. Input Format: The first line contains integer n, the number of elements in the set s. The second line contains n space separated elem…
    filed under pythonset