Skip to content

Instantly share code, notes, and snippets.

View yohamta's full-sized avatar

Yota Hamada yohamta

View GitHub Profile
@yohamta
yohamta / grokking_to_leetcode.md
Created March 14, 2023 13:29 — 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

@yohamta
yohamta / RotatedRectangle.cs
Created December 5, 2021 02:16 — forked from jackmott/RotatedRectangle.cs
Rotated rectangle collision detection
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
//Faster linq-style convenience functions https://github.com/jackmott/LinqFaster
using JM.LinqFaster;
namespace DrawAndDrive
{