Run the following command to create three directories inside your home directory: bashCopyEditmkdir ~/dir1 ~/dir2 ~/dir3 Step 2: Verify Using tree Command bashCopyEdittree ~ Expected Output (partial): arduinoCopyEdit/home/yourusername ├── dir1 ├── ...
🔹 Current Focus: Deploying My Node.js Backend as Microservices for Free In the past two days, I’ve been planning how to deploy my Node.js backend (with Redis and MongoDB) using a microservices architecture while ensuring zero cost by leveraging free...
Day 21: Tackling Binary Tree Problems On Day 21, I focused on solving Medium-level problems related to Binary Trees. These problems helped me strengthen my understanding of DFS, BFS, and recursion. Here’s a quick rundown: Binary Tree Right Side View...
Problem Statement Given the roots of two binary trees p and q, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally identical, and the nodes have the same value. Example 1: Input: p...
There are 2 types of data structures. 1. Linear and 2.Non linear data structures. Arrays, Stack, Queues and linked lists. Trees belong to non linear data structures. Trees are a type of data structure where a node that contains one or more data value...
tree - возвращает структуру данных, определяющую дерево индекса базы данных. sym и cls определяют отношение с необязательным объектом hook. (tree 'sym 'cls ['hook]) -> tree chkTree - проверяет узел дерева базы данных (и рекурсивно все подузлы) на сог...
What if? The waters in rivers are tears of the mountains that kept melting because of the pain they feel. What if? Rocks are the external wounds of the land that went through an unbearable depression. What if? Oceans are the demons inside that oversh...
If the main data structures (at least based on my experience) are Lists, Arrays and Maps, the remaining important ones are: Stack and Queue Tree I covered Lists and Arrays here, and Maps here. Now let’s talk about the remaining ones. Oh, a discla...
In this article I will walk through the basic functionality for creating a menu tree in Python using Nodes, then populating the menu tree to create a basic CLI application. The repo for this example can be found here: menu_tree_cli_example Repository...
Binary Search Trees (BSTs) are one of the most fundamental and widely used data structures in computer science. They allow for efficient searching, insertion, and deletion of data. In this blog, we’ll break down the concepts of BSTs and walk you thro...