Instantly share code, notes, and snippets.

• Sort options

# Jonathan Ellisjonenzl

 using System; using System.Text; using System.Windows; namespace Password_Generator { /// /// Interaction logic for MainWindow.xaml /// public partial class MainWindow : Window
View dictionary.c
 /**************************************************************************** * dictionary.c * * Computer Science 50 * Problem Set 5 * * Implements a dictionary's functionality. ***************************************************************************/ #include
View euclid.c
 /**************************************************************************** * euclid.c * * Determine the greatest common divisor of two integers using Euclid's algorithm * * usage: ./eculid num1 num2 ***************************************************************************/ #include #include
View fifteen.c
 /**************************************************************************** * fifteen.c * * HarvardX - CS50 * Problem Set 3 * * Implements Game of Fifteen (generalized to d x d). * * Usage: fifteen d *
View vigenere.c
 /**************************************************************************** * vigenere.c * * HarvardX - CS50 * Problem Set 2 * * Encipher text using Vigenere's algorithm (ci = (pi + kj) % 26) ***************************************************************************/ #include
View search.c
 /**************************************************************************** * search.c * * HarvardX - CS50 * * Two search functions. Linear search and binary search ***************************************************************************/ /** * Linear search function
View sort.c
 /**************************************************************************** * sort.c * * HarvardX - CS50 * * A selection of sorting functions * Bubble sort, selection sort, and counting sort ***************************************************************************/ /**
View arc_distance.c
 /**************************************************************************** * arc_distance.c * * Calculates the distance between two GPS points using the Law of Haversines ***************************************************************************/ #include #include #define pi 3.14159265358979323846
View fibonacci.c
 /**************************************************************************** * fibonacci.c * * Display the Fibonacci sequence, characterised by the fact that every number * after the first two is the sum of the two preceding ones ***************************************************************************/ #include int main(void)
View resize.c
 /**************************************************************************** * resize.c * * HarvardX - CS50 * Problem Set 4 * * Resize a BMP image by a factor of n ***************************************************************************/ #include