Skip to content

Instantly share code, notes, and snippets.

View eugenesimakin's full-sized avatar

Eugene eugenesimakin

View GitHub Profile
@eugenesimakin
eugenesimakin / grokking_to_leetcode.md
Last active February 19, 2024 12:40 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

From backtobackswe

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.

manifest.json

{
  "name": "Insert the first part of the PIN and check 'I have read...' checkbox",
  "version": "1.0",
  "manifest_version": 3,
  "action": {},
  "content_scripts": [
    {
@Injectable({provideIn: 'root'})
export class TodosStoreService {
private readonly _todos = new BehaviorSubject<Todo[]>([]);
public readonly todos$ = this._todos.asObservable();
private get todos(): Todo[] {
return this._todos.getValue();
}