Skip to content

Instantly share code, notes, and snippets.

@tvandoren
tvandoren / 1.sql
Created February 24, 2020 16:19
Assignment2
create table Student (
stuID number not null,
stuName varchar2(10),
house number,
gpa number,
primary key (stuID),
check ( gpa between 0.0 and 4.0 )
);
create table Degree
@tvandoren
tvandoren / main.cpp
Last active October 14, 2019 01:21
#include <iostream>
#include <vector>
// starting node (can be anything from 0 to 9)
int START_NODE = 0;
// since int cannot represent infinity, a value high enough above anything we should encounter will be used
int HIGH_VAL = 999;
// size of adjacency matrix