Skip to content

Instantly share code, notes, and snippets.

View MSandeep96's full-sized avatar
πŸ‘©β€πŸ’»

Sandeep Reddy MSandeep96

πŸ‘©β€πŸ’»
View GitHub Profile
@MSandeep96
MSandeep96 / grokking_to_leetcode.md
Last active July 20, 2022 19:19 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

mod linear_search;

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

[x] https://leetcode.com/problems/maximum-subarray/ # Close enough

@MSandeep96
MSandeep96 / ClosedHash.cpp
Last active July 17, 2017 16:07
DataStructures
#include <iostream>
using namespace std;
//Closed Chain
struct Node{
int data;
Node* next;
Node(int x){
data = x;