
algorithms Tag Posts Index
Explore on-chain topics from the Hive blockchain.
- →
Algorithms and Echo Chambers
There is an old truism that "birds have a feather flock together." It speaks to the fact that we humans tend to gravitate towards others who have had similar
- →
Hesitant To Engage
Social media For You feed pages are a bit like public town squares but the means of navigation is less intentional compared to an actual town square where I can
- →
Behaviors
Are Behaviors Learned or Inherited? Algorithms and Behavior Behavior can absolutely be influenced by the environment (or algorithms). Let’s face it, the algorithms
- →
Unchaining the Mind
Our media landscape — whether it's social media or mainstream news — is filled with narratives. These stories are shaped and delivered by algorithms designed to
- →
You've Been Spotted
Hi fellow Hiveians, Today I wanted to talk about a bit of a situation I figured out the other day! You've Been Spotted There are for sure some pretty nasty forces
- →
Throw a Wrench
Hi fellow Hiveians, Today I wanted to bring forward a hilarious but effective resolution! Throw a Wrench Every so often I see something that really resonates with
- →
Trapped in the Feed: The Personality You Didn’t Choose
Social media has surely evolved quite a lot in the past decade. It has also taken a lot of importance as well as the influence that it has on our life has become
- →
Experimental Edit Enjoyment
Hi fellow Hiveians, Today Experimental Edit Enjoyment Every now and then I like to push the envelope a little bit in my photos! I don't think I would say that I'm
- →
An Insidious Beast Of Modern Engineering
What's a modern reality that's overlooked, both in its immense benefit and subtle detriment? Is it the constant connectivity that blurs the lines between work and
- →
DSA (Medium) - Graph - Keys and Rooms (Python, Typescript & Go)
There are n rooms labeled from 0 to n - 1 and all the rooms are locked except for room 0. Your goal is to visit all the rooms. However, you cannot enter a locked
- →
DSA (Medium) - Binary Search Tree - Delete Node in a BST (Python, Typescript & Go)
Given a root node reference of a BST and a key, delete the node with the given key in the BST. Return the root node reference (possibly updated) of the BST. Basically,
- →
DSA (Easy) - Binary Search Tree - Search in a Binary Search Tree (Python, Typescript & Go)
You are given the root of a binary search tree (BST) and an integer val. Find the node in the BST that the node's value equals val and return the subtree rooted
- →
DSA (Medium) - Binary Tree - Maximum Level Sum of a Binary Tree (Python, Typescript & Go)
Given the root of a binary tree, the level of its root is 1, the level of its children is 2, and so on. Return the smallest level x such that the sum of all the
- →
DSA (Medium) - General - Print A Diamond Shape (Typescript, Python & Rust)
Given the following shape: [LOG]: " A" [LOG]: " B B" [LOG]: " C C" [LOG]: " D D" [LOG]: " E E" [LOG]: "F F"
- →
DSA (Medium) - Binary Tree - Binary Tree Right Side View (Typescript, Python & Rust)
Given the root of a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. Example
- →
DSA (Medium) — Binary Tree — Lowest Common Ancestor of a Binary Tree (Python, Typescript & Rust)
Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The lowest common ancestor
- →
DSA (Medium) — Linked List — Maximum Twin Sum of a Linked List (Python, Typescript & Go)
In a linked list of size n, where n is even, the ith node (0-indexed) of the linked list is known as the twin of the (n-1-i)th node, if 0 <= i <= (n / 2) -
- →
DSA (Medium) — Binary Tree — Count Good Nodes in Binary Tree (Python, Typescript & Rust)
Source: Leetcode.com Given a binary tree root, a node X in the tree is named good if in the path from root to X there are no nodes with a value greater than X. Return
- →
DSA (Medium) —Linked List — Odd Even Linked List (Python, Typescript & Go)
Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list. The
- →
How To Reverse Words in a String (Python, Typescript and Go)
Write a function that takes a string as input and returns a new string with the words in reverse order. Words are sequences of non-space characters and are separated
Leave algorithms Tag Posts Index to discover