Skip to content

Instantly share code, notes, and snippets.

View dboyza's full-sized avatar

Dylan Boyza dboyza

View GitHub Profile
@dboyza
dboyza / contracts...BoyzasSupplements.sol
Created April 24, 2022 18:35
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// Only allow compiler versions from 0.7.0 to (not including) 0.9.0
pragma solidity >=0.7.0 <0.9.0;
contract BoyzasSupplements {
// State variables
address public owner;
bool shopIsOpen;
@dboyza
dboyza / grokking_to_leetcode.md
Created March 30, 2022 19:19 — 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