Skip to content

flyingdan/dailyprogrammer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dailyprogrammer

A collection of solutions to challenges posted on https://reddit.com/r/dailyprogrammer

321 [Easy] Talking Clock

Description

Challenge Thread

No more hiding from your alarm clock! You've decided you want your computer to keep you updated on the time so you're never late again. A talking clock takes a 24-hour time and translates it into words.

Solution notes

Uses the inflect package to convert numbers to words.

333 [Easy] Packet Assembler

Description

Challenge Thread

Your program must collect packets from stdin, assemble them in the correct order, and print the completed messages to stdout.

The point of reading from stdin is to simulate incoming packets. For the purposes of this challenge, assume there is a potentially unlimited number of packets. Your program should not depend on knowing how many packets there are in total. Simply sorting the input in its entirety would technically work, but defeats the purpose of this exercise.

Solution Notes

This is my first attempt at a dailyprogrammer challenge. I based it on a help comment posted in the thread.

About

A collection of solutions to challenges posted on https://reddit.com/r/dailyprogrammer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages