Skip to content

Instantly share code, notes, and snippets.

New Year Gift - Curated List of Top 75 LeetCode Questions to Save Your Time

Facebook / Eng tech lead

140 Comments

New Year Gift to every fellow time-constrained engineer out there looking for a job, here's a list of the best LeetCode questions that teach you core concepts and techniques for each category/type of problems! Many other LeetCode questions are a mash of the techniques from these individual questions. I used this list in my last job hunt to only do the important questions.

Good luck and Happy New Year!

Array

@BoRueiHong
BoRueiHong / half_float.c
Created September 24, 2024 03:26 — forked from zhuker/half_float.c
float16 to float32
// based on https://gist.github.com/martin-kallman/5049614
// float32
// Martin Kallman
//
// Fast half-precision to single-precision floating point conversion
// - Supports signed zero and denormals-as-zero (DAZ)
// - Does not support infinities or NaN
// - Few, partially pipelinable, non-branching instructions,
// - Core opreations ~6 clock cycles on modern x86-64
void float32(float *__restrict out, const uint16_t in) {
@BoRueiHong
BoRueiHong / Install_OpenCV4_CUDA11_CUDNN8.md
Created November 19, 2023 09:53 — forked from raulqf/Install_OpenCV4_CUDA12.6_CUDNN8.9.md
How to install OpenCV 4.5 with CUDA 11.2 in Ubuntu 20.04

How to install OpenCV 4.5.2 with CUDA 11.2 and CUDNN 8.2 in Ubuntu 20.04

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries: