A guide to the ‘DNA’ problem in CS50 Week 6.

Goal: To write a python script that can identify someone from a database, based on their DNA sequence.

The script must be called with two additional command line arguments; a csv database containing the number of times that particular sequences…

A guide to the ‘recover’ problem in CS50 Week 4.

Goal: To write a program in C that can recover JPEG images from a forensic file.

The program must accept one and only one command line argument, the name of the file the images will be recovered from.

The program…

A guide to the ‘Plurality’ problem in CS50 Week 3.

Goal: To write functions to determine the winner of a plurality election and to print the name of the winner.

The vote function takes a single argument, a string called name, representing the name of the candidate who was voted…

A guide to the ‘Substitution’ problem in CS50 Week 2.

Goal: To write a program in C that implements a substitution cypher, as per the below.

$ ./substitution JTREKYAVOGDXPSNCUIZLFBMWHQ
plaintext: HELLO
ciphertext: VKXXN

The program must encrypt only the letters, irrespective of whether they are upper or lower case.

$…

JR

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store