Skip to content

Instantly share code, notes, and snippets.

View katherinebui's full-sized avatar

Katherine Bui katherinebui

  • New York, New York
View GitHub Profile
@katherinebui
katherinebui / key-value-store.rb
Last active December 1, 2017 21:25
My solution:
require 'date'
class KeyValueStore
attr_accessor :record
def initialize()
@record = {
'Bob' => {
(DateTime.now - (100/1444.0)) => 'A',
(DateTime.now - (50/1444.0)) => 'B'
### Keybase proof
I hereby claim:
* I am katherinebui on github.
* I am katherinebui (https://keybase.io/katherinebui) on keybase.
* I have a public key ASDHfGBr8BKl3ds5jmXNfceMlh2wZ7ZdVY3-we5mGLHQ7wo
To claim this, I am signing this object: