Skip to content

Instantly share code, notes, and snippets.

View rohitbemax's full-sized avatar

Rohit rohitbemax

  • Bangalore India
View GitHub Profile
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active October 30, 2025 04:47
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

@ajhwb
ajhwb / libevent-example.c
Created September 9, 2012 17:17
Asynchronous network I/O using libevent
/*
* Libevent is a high-performance and portable asynchronous networking I/O library (http://libevent.org)
* This is small program to demonstrate the basic of libevent programming
*
* Copyright (C) 2012, Ardhan Madras <[email protected]>
*/
#include <event.h>
#include <arpa/inet.h>
#include <netinet/in.h>