Skip to content

Instantly share code, notes, and snippets.

View geoherna's full-sized avatar
In need of more coffee

George geoherna

In need of more coffee
  • New York, NY
View GitHub Profile
@geoherna
geoherna / vehicles.swift
Last active December 25, 2019 20:43
Swift Dictionary of vehicle make and models
//
// VehicleList.swift
//
// Created by George Hernandez on 12/25/19.
//
import Foundation
let Vehicles: Dictionary<String, Array<String>> = [
"Acura":

Coding Challenge

Objective

Write a program that prints out a multiplication table of the first 10 primary numbers.

The program must run from the command line and print one table to STDOUT. The first row and column of the table should have the 10 primes, with each cell containing the product of the primes for the corresponding row and column.

Notes

@geoherna
geoherna / design_a_parking_lot.md
Created April 18, 2019 20:10
Design a Parking Lot

Design a Parking Lot

Constraints:

  • Account for parking spots of all types / sizes (truck, compact, handicapped. etc)

  • Spots are assigned per ticket (no random parking)

Verifying my Blockstack ID is secured with the address 1GRyNq2mQTxxSM1XeatunNDYUqKFHRscUa https://explorer.blockstack.org/address/1GRyNq2mQTxxSM1XeatunNDYUqKFHRscUa