Posts

Leetcode - Blind75 - P1 - Arrays

Image
"Arrays are like the socks in your drawer; there’s always one missing when you need it the most!" We covered the arrays(lists) in python earlier in this article . Building upon that, let's take a look at the list of Blind75 questions that are based on arrays and related concepts. This blog is part of my leetcode journey blog and you can access the complete list here . Mind Mapping the Algorithmic Challenge - Blind75 Why Every Developer Should Use LeetCode Leetcode - Blind75 - Easy Arrays are a fundamental concept in programming, serving as a cornerstone for storing and manipulating collections of data. They are defined as a linear data structure that holds elements of the same data type in contiguous memory locations. The simplicity of arrays lies in their ability to access elements directly through indices, which are typically zero-based, meaning the first element is at index 0. Here's a quick overview of Lists/Arrays in python: In the context of coding in...

Leetcode - Blind75 - Easy

Image
 "Do the difficult things while they are easy and do the great things while they are small. A journey of a thousand miles must begin with a single step." This blog is part of my leetcode journey blog and you can access the complete list here . Mind Mapping the Algorithmic Challenge - Blind75 Why Every Developer Should Use LeetCode Let's take a look at the complete list of Easy problems: 1. Two Sum Easy Array & Hash Table 20. Valid Parentheses Easy String - Stack 21. Merge Two Sorted Lists Easy Linked List - Recursion 70. Climbing Stairs Easy Math - Dynamic Programming - Memoization 100. Same Tree Easy Tree - Depth-First Search - Breadth-First Search - Binary Tree 104. Maximum Depth of Binary Tree Ea...

Mind Mapping the Algorithmic Challenge - Blind75

Image
 "Boundaries are basically about providing structure, and structure is essential in building anything that thrives."   This blog is part of my leetcode journey blog and you can access the complete list here . Mind Mapping the Algorithmic Challenge - Blind75 Why Every Developer Should Use LeetCode Leetcode - Blind75 - Easy Mind Mapping the Algorithmic Challenge: The Importance of LeetCode Categories In the realm of competitive programming and interview preparation, LeetCode stands out as a premier platform for honing one’s coding skills. A unique feature of LeetCode is the categorization of problems into distinct groups, which are commonly referred to as problem domains or categories . These categories include arrays, binary manipulation, dynamic programming (DP), graphs, intervals, linked lists, matrices, strings, trees, and heaps.  But what exactly are these categories, and how do they aid in the learning process? Understanding the Categories Each category represen...

Why Every Developer Should Use LeetCode

Image
 "W hether LeetCode is worth it depends on your goals" This blog is part of my leetcode journey blog and you can access the complete list here . Mind Mapping the Algorithmic Challenge - Blind75 Why Every Developer Should Use LeetCode Leetcode - Blind75 - Easy Why Every Developer Should Use LeetCode In the ever-evolving landscape of software development, staying sharp and current with coding skills is not just an advantage; it’s a necessity. LeetCode has emerged as an indispensable tool for developers aiming to hone their problem-solving abilities and technical prowess. Here’s why LeetCode is a must for all developers: 1. Interview Preparation LeetCode’s extensive collection of coding challenges is tailored to mirror the types of questions asked in technical interviews at leading tech companies. By practicing these problems, developers can gain familiarity with the interview format and question type...

No Fluff Guide to Python - P12 - Loops

Image
 "History is about loops and continuum." while true : dispense(coldDrink_Can) Imagine you have a big box of toys: you want to go through each toy and play with it but instead of picking up each toy one by one, you want a way to play with all the toys without lifting them individually that's where loops in Python come in handy a loop is like a magical robot arm that helps you go through each toy in the box automatically it saves you time and effort. In Python: you can use a loop to repeat a set of instructions  over and over again  until a certain condition is met Example you can tell the loop to play with each toy in the box  until there are no more toys left example: toys = [ "car" , "ball" , "doll" , "blocks" ] for toy in toys: play_with(toy) The for loop goes through each toy ( toy ) in the toys list it tells our magical robot arm to play_with() each toy It will keep playing with each toy  until it has gone ...