Skip to content

Instantly share code, notes, and snippets.

View timmyjose's full-sized avatar

Timmy Jose timmyjose

View GitHub Profile
use std::string;
enum JsonObject {
Number(i32),
String(string::String),
Array(Vec<JsonObject>),
Object(Vec<KeyVal>),
}
use JsonObject::*;
@timmyjose
timmyjose / grokking_to_leetcode.md
Created July 9, 2022 17:36 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

[package]
name = "bubble-sort"
version = "0.1.0"
edition = "2021"
[dependencies]
common = { path = "../common" }
serde_json = { version = "1.0.107", features = ["arbitrary_precision" ]}
@timmyjose
timmyjose / gist:aa03d1633f6261673cb6c7a2b6178e5a
Created March 13, 2024 04:25
Using github's `macos-14` runner for detox e2e tests (attempt)
name: e2e tests for RustyCalc
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- 'app/**'
- '.github/workflows/e2e-tests.yml'
jobs: