coding interview cheat sheet

cheat sheets

best one: * [nang downloaded cheat sheet](file:///D:/Downloads/CodingInterviewPrepMaterials/CheatSheet.pdf)


if given a sorted array:

if given tree or graph

if asked for permutations / subsets:

if given a linked list:

if recursion is banned:

if asked for min/max subarray/subset/options:

if asked for top/least k items:

if asked for commong strings

if need to keep count of distinc elements:

else: