Skip to content

Solutions and exercises for interview problems (leetcode, hackerrank etc.)

Notifications You must be signed in to change notification settings

bbhitec/leetcode_doodles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Doodles

About

Various solutions and exercises for leetcode interview prep problems
Now includes also various solutions for other training resources as: Hacker Rank, FreeCodeCamp etc.

Methodology and Mindset

  • Don't invest too much or too little in each problem
  • Always dial back to easy problems to build confidence and momentum
  • Use pen/paper first, paint a naive solution and advance in the best plausible direction
  • Develop both methodical and technical aspects: don't leave the code minimal or dirty
  • Don't overthink, just start
  • When learning a new language, go over some easy/familiar problems

Gains

  • Methodical: Algorithms implementation, Problem solving
  • Technical: Best practices and familiarity with the languages used: Python, Cpp

Other Gains

  • Documentation, consistent commenting
  • Code running time measurement
  • Complexity analysis

Skills stack

python cpp java javascript html css
computer science algorithms best practices

Usage/How to run

Most of the code uses native libraries In case of any dependencies, pull and
Install the required Python packages listed:

pip install -r requirements.txt