Getting Started with Python

Python is a robust and adaptable programming language that finds numerous applicability in web development, scientific computing, data analysis, artificial intelligence, and more. It is easy to le…

Read More

Getting Started with Python

Python is a robust and adaptable programming language that finds numerous applicability in web development, scientific computing, data analysis, artificial intelligence, and more. It is easy to le… Read More

(Senior Software Engineer) 2 years, 3 months ago . 778 views

Python Variables

Python is a robust and adaptable programming language that finds numerous applicability in web development, scientific computing, data analysis, artificial intelligence, and more. It is easy to le… Read More

(Senior Software Engineer) 2 years, 2 months ago . 646 views
All Stories

Binary Side View

Binary Side View Let's solve the problem of obtaining the right side view of a binary tree. To achieve that, here's a breakdown of how … Read More

ago ; 310 views

River Sizes

This challenge aims to come up with a solution that implements an algorithm to find the sizes of rivers in a 2D matrix. Problem Given a 2D matr… Read More

ago ; 293 views

Min Heap Construction

Min Heap Construction A MinHeap is a binary tree-based data structure where the value of each node is less than or equal to the values of its chil… Read More

ago ; 300 views

Max Subset Sum Not Adjacent

Max Subset Sum not Adjacent The provided solution aims to find the maximum sum of a subset of non-adjacent elements from a given array. Problem… Read More

ago ; 274 views

Breadth-First Traversal

The solution provided implements a breadth-first search (BFS) traversal algorithm on a tree-like structure represented by the Node class. Problem … Read More

ago ; 277 views

Kadanes Algorithm

Let's break down the problem, the approach taken, and perform a time and space complexity analysis for Kadane's Algorithm. Problem Th… Read More

ago ; 249 views

Min Number of coins for change

Min Number of coins for change This solution aims to solve the "minimum number of coins for change" problem, which is a classic dynamic … Read More

ago ; 324 views

Number of Ways to make Change

This solution seeks to solve the problem of finding the number of ways to make change for a given amount of money n using a given set of coin denomin… Read More

ago ; 263 views

BST Traversal

The solution implements three different depth-first traversal methods for binary trees: in-order traversal, pre-order traversal, and post-order trave… Read More

ago ; 291 views

Inverting a Binary Tree

Inverting a Binary Tree This solution herein is expected to solve the problem of inverting a binary tree. In other words, it aims to transform … Read More

ago ; 258 views

Popular