Category Archive For "SOFTWARE DEVELOPMENT"
[Solved] “ImportError: No module named apt_pkg”
In due time, you will run into the infamous ImportError: No module named apt_pkg while using Python, and that’s why this post exists.
Collaboration: Pair Programming in Software Engineering
Pair programming, also known as pairing, is a practice where two developers collaborate on a single task using a single machine. Rotationally, one person takes on the role of the “driver,” actively typing out code, while the other assumes the role of the “navigator,” providing guidance and feedback. This dynamic duo approach isn’t just a …
Python: Guide to Virtual Environments and Managing Multiple Python Versions
Installing and managing multiple Python versions on your system can be a lifesaver, especially when you’re working on projects that require different versions of Python.
Applying to the MLH Fellowship- [How I Got Selected]
Congratulations! 🎉 You’re going to be an MLH Fellow! You can imagine the kind of butterflies in my stomach, after innumerable rejection emails. This congratulatory mail on the 17th of Jan after an interesting application and interview process, has set my 2024 on a beautiful headstart. There’s a lot to talk about; my own application …
Software Reverse Engineering [Everything is Open-source]
Software reverse engineering is the process of taking an already forward engineered source code apart to see how it works. Anything can be reversed engineered; software, physical machines, military technology and even biological functions. And oh boy, everything becomes open source if you can reverse engineer “everything”. It can be useful in virtually every field, …
What is Time and Space Complexity
Independent of programming language, interesting to learn and important to understand concepts in Software Engineering is time and space complexity
Time and Space Complexity Cheat Sheet [Ultimate List]
If you’re still perplexed by Big O notation in terms of time or space complexity, worry no more; here is the ultimate time and space complexity cheat sheet.
Gauss’s Formula: The Arithmetic Series Formula [n*(n+1) / 2]
The Gauss’s arithmetic series formula.
Serialize And Deserialize Binary Tree Leetcode Problem [Python Solution]
In this blog post, we're going to tackle the Serialize And Deserialize Binary Tree problem, a challenging task in the realm of binary trees. This problem, categorized as "Hard" on LeetCode, has a unique objective: serializing and deserializing a binary tree. Our solution will be implemented in Python. Problem Overview Serialization is the process of …
Permutation In String Leetcode Problem 567 [Python Solution]
Welcome to another Python coding tutorial! In this blog post, we’ll tackle the LeetCode problem titled “Permutations II.” The problem can be found at this link. We’ll provide a detailed Python solution to this problem, explain the reasoning behind our approach, and discuss time and space complexity. Problem Overview The problem statement is as follows: …
Number Of Subsequences That Satisfy The Given Sum Condition [Leetcode]
In this blog post, we will delve into LeetCode problem 1498, Number Of Subsequences That Satisfy The Given Sum Condition This problem falls under the category of "Two Pointers" and is classified as a medium difficulty challenge. It is worth noting that this problem has been encountered by candidates in interviews with companies such as …
Number Of Sub Arrays Of Size K And Avg Greater Than Or Equal To Threshold
Welcome to another coding tutorial! In this post, we will tackle the LeetCode problem titled "Number of Sub Arrays of Size K and Average Greater than or Equal to Threshold." This problem falls under the category of sliding window algorithms and can be particularly interesting for those looking to sharpen their problem-solving skills. By the …
Number Of Pairs Of Interchangeable Rectangles Leetcode [Python]
Welcome to another coding adventure! In this blog post, we'll be tackling the Number Of Pairs Of Interchangeable Rectangles problem, a medium-level challenge from LeetCode. We'll walk through the problem statement, its constraints, and provide both a brute-force and an efficient solution in Python. So, let's dive in! Problem Overview The problem revolves around a …
Minimum Number Of Swaps To Make The String Balanced Leetcode [Python]
In this blog post, we'll tackle the Minimum Number Of Swaps To Make The String Balanced problem, which is a LeetCode problem #1963. This problem falls under the category of Arrays & Hashing and is considered to be of medium difficulty. Companies like Facebook, Google, and Amazon have encountered similar problems, making it an interesting …
Minimum Difference Between Highest And Lowest Of K Scores Leetcode [Python]
Welcome to another coding session! Today, we'll tackle the Minimum Difference Between Highest And Lowest Of K Scores problem, which is an easy one from LeetCode's contest. We'll provide you with a clear Python solution and dive into the reasoning behind our approach. Problem Overview You are given an array nums, where nums[i] represents the …