5 0
Sign in to rate

Coding Challenges in Python by Brian Spiering

0.20MB. 0 audio & 5 images. Updated 2018-10-17.
The author has shared 10 other item(s).


Common technical interviewing questions

Sample (from 268 notes)

Cards are customizable! When this deck is imported into the desktop program, cards will appear as the deck author has made them. If you'd like to customize what appears on the front and back of a card, you can do so by clicking the Edit button, and then clicking the Cards button.
Front Write a recursive factorial fucntion
Back def factorialR(n):    "Recursive factorial function"    return 1 if n <= 1 else n * factorialR(n-1)
Front Read a file from internet / website
Back from urllib import requesturl = 'https://www.wolframcloud.com/objects/fd2da57e-2af0-4114-9d08-f45c062389d4' text = request.urlopen(url).read().decode("utf8") # NOTE: Convert from bytes to str
Front write an interactive loop that prints input until stop
Back while True: reply = raw_input('Enter text: ')  if reply == 'stop': break print(reply.strip())

After the file is downloaded, double-click on it to open it in the desktop program.

At this time, it is not possible to add shared decks directly to your AnkiWeb account - they need to be added from the desktop then synchronized to AnkiWeb.


on 1613572077
Thank you so much !
on 1592876816
fabulous study tools
on 1566096614
Good set of challenges, ranging from basics to advanced topics. Including simple functions and complex functions.
on 1555474370
It's helpful having coding challenges as an Anki deck.
on 1542513230