Kumar Spandan Pattanayak5p7ro0t.hashnode.dev·15 hours agoSolving Leetcode 2872: Find the Maximum K-Divisible ComponentsLeetcode Question Link: https://leetcode.com/problems/maximum-number-of-k-divisible-components/description/ Intuition Initially, I thought of approaching it with array and tree traversal but didn't think of any other method. I got struck on how to pr...Python
gayatri kumargeekee.hashnode.dev·Oct 19, 2024The Ant Colony’s NetworkImagine walking through a vast ant colony where thousands of chambers are interconnected by tunnels. Each tunnel leads to a different chamber, and every chamber has multiple paths leading out. This labyrinth is more than just a network of tunnels; it...30 likesData Structures and AlgorithmsGraph
Rohit Gawanderohit253.hashnode.dev·Oct 14, 2024Chapter 39: Graphs (Part 5)"Mastering Graph Algorithms: Cheapest Flights, Connecting Cities, and More in Java" Introduction In this chapter, we delve deeper into the fascinating world of graphs, focusing on practical applications related to finding optimal paths and connectio...DSA(Data Structure and Algorithm) In JAVARohitGawande
Kofi / Illestpreachablog.illestpreacha.com·Oct 9, 2024Mathober2024_FlexibleGraphableOres For my eighth sketch of Mathober2024, GraphableOres is coded in Python with a Ore-like graph that is being stretched and morphed through Glitchlab. Flexible Graph is the 7th Prompt for this year’s Mathober. Poetry Shaking and Flipping T...Python
Raineraineyang.hashnode.dev·Oct 7, 2024Journey to PythonTA: The Control Flow Graph Module (Part 1)The Journey to PythonTA series aims to introduce various system components of PythonTA (https://github.com/pyta-uoft/pyta), a static code analysis tool for checking common code style errors in Python code, to new developers. In this series, in additi...36 readsPython
Dharansh Neemadharanshneema.hashnode.dev·Sep 25, 2024DFS and BFS in graph using Adjacency matrixTerminologies Graph : In DSA generally Graph means set of nodes which are connected to each other (not necessarily). A graph can be collection of nodes which are not connected to each other(disjoined graph). The graph is composed of Vertex and Edges...10 likesGraph
Raineraineyang.hashnode.dev·Aug 9, 2024PyTA Project: Augment CFG Edges with Z3 ConstraintsToday's task requires a combination of various components of PythonTA introduced in previous articles, including control flow graph module, Z3 visitor, and Z3 expression wrapper. In this task, we will augment each control flow graph edge with a list ...Python
Pawan Gangwaniblogs.pgangwani.co.in·Jul 31, 2024Playwright testing with JanusGraphThis article covers how to connect to multiple JanusGraph instances in Playwright using TypeScript, manage connections securely with environment variables, and utilize custom fixtures for setup and teardown. Prerequisites Node.js and TypeScript inst...31 readsjanus
Sean Coughlinblog.seancoughlin.me·Jul 2, 2024Mastering LeetCode: Solving the Lowest Common Ancestor of a Binary Tree ProblemSolving the Lowest Common Ancestor of a Binary Tree on LeetCode Introduction Finding the Lowest Common Ancestor (LCA) of two nodes in a binary tree is a classic problem often encountered in coding interviews and algorithm studies. Understanding how t...74 readsSWE Interview Preparationleetcode
Sean Coughlinblog.seancoughlin.me·Jun 29, 2024Rotting Oranges: A Comprehensive Guide to Solving with BFS in PythonIntroduction In this article, we delve into solving the Rotting Oranges problem using the Breadth-First Search (BFS) algorithm in Python. Understanding this problem not only helps in mastering BFS but also enhances problem-solving skills in grid-base...81 readsSWE Interview Preparationleetcode