home.social

#datastructure — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #datastructure, aggregated by home.social.

fetched live
  1. 🌳 Trie demo: memory-graph.com/#codeurl=http

    A trie is a tree-shaped data structure that can be implemented elegantly in Python using nested dictionaries (hash tables).

    Tries are often used for:
    - Autocomplete
    - Prefix search
    - Spell checking
    - Sequence matching

    Visualizing data structures with 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 makes them much easier to understand and debug, especially for students learning Python.

  2. @alcinnz I've recently learned about the _Tournament Tree_ data structure, which is a form of min (max) heap:

    geeksforgeeks.org/dsa/tourname

    It can be used to find the median of sorted arrays or to sort more elements than can fit into memory: for this, multiple sorted arrays are stored at the leafs of the tree while being built bottom-up (k-way merge).

    1/2

    #DataStructures #DataStructure #Algorithm #Algorithms

  3. 🎩✨ Behold the majestic skiplist: the data structure nobody asked for but everyone pretends to need! 🤡 This article bravely navigates a sea of #buzzwords and sales pitches, leaving readers wondering if the true purpose of skiplists is to skip the point entirely. 🚀
    antithesis.com/blog/2026/skipt #skiplist #datastructure #techhumor #programming #satire #HackerNews #ngated

  4. La matematica delle strutture dati racconta una verità semplice: non esiste un modo perfetto per archiviare informazioni.

    Ogni sistema è un compromesso tra velocità, memoria e ordine. A volte serve struttura, altre volte un po’ di disordine funziona meglio. Un equilibrio dinamico, in cui l’efficienza nasce proprio dalla varietà delle soluzioni.

    quantamagazine.org/why-theres-

    #computerscience #datastructure #data #algorithm #algoritmi #informatica

  5. Latest drop from our group 🥳 Paper by Daniel Jünger, Kevin Kristensen, Yunsong Wang, Xiangyao Yu, and Bertil Schmidt

    #Bloomfilters are a fundamental #DataStructure for approximate membership queries, with applications ranging from #databases to #genomics.

    arxiv.org/abs/2512.15595

    #GPU #CUDA #bigdata #bioinformatics #datastructures

  6. Matching Algorithm with Recursively Implemented StorAge (MARISA) is a space-efficient, fairly fast, and static trie data structure. MARISA serves as a dictionary structure, and by definition, it supports exact match lookup, which is the basic operation of dictionary. In addition, MARISA supports reverse lookup, common prefix search, and predictive search.

    Thanks to @terrtia for the discovery.

    #datastructure #computerscience

    🔗 s-yata.jp/marisa-trie/docs/rea

  7. Grmbl.😩

    Implementing an object graph with with loops.

    After setup, it needs additional initialization.

    The fields getting set will not change again. Ideally would be final (Java, or readonly in TypeScript). And I don't want an "if (bla!=null)" where ever access I them.

    In my ideal solution this would be guarded by the type system where the nodes, once initialized, change type. I know roughly how it could be done, but its weird and cumbersome. 😕

    #Java #final #datastructure #strongTyping

  8. Hey Mastodon! 👋 I'm diving back into my DSA journey and want to move beyond just solving theoretical problems. I'm looking to build some real-world projects to apply what I'm learning.

    Any project ideas where you can genuinely use DSA concepts? Things like a simple recommendation engine, a social network graph, or a pathfinding visualizer. I'm curious about how you would implement these.

    #devcommunity #DSA #Projects #Programming #Tech #algorithm #datastructure

  9. Understanding and debugging Data Structures is easier when you can see the structure of your data using memory_graph: github.com/bterwijn/memory_gra

    Here we show values being added to a Linked List in Cursor AI. When adding the last value '5' we "Step Into" the code to show more of the details: raw.githubusercontent.com/bter

    🎥 See the Quick Intro video for the VS Code integration: youtu.be/23_bHcr7hqo

  10. Understanding and debugging Data Structures is easier when you can see the structure of your data using memory_graph: github.com/bterwijn/memory_gra

    In this example we show values being inserted in a Binary Tree. When inserting the last value '29' we "Step Into" the code to show the recursive implementation: shorturl.at/bx848

    🎥 See the Quick Intro video for the VS Code integration: youtu.be/23_bHcr7hqo

  11. Reflecting some more on the Sketchpad & ECS parts of this talk: SideFX Houdini organizes all geometry data in similar vertical silos of points, vertices, edges, faces, prims, each with component IDs, each with its own group of native and user-defined attribs, and with similar powerful "omniscient" visibility/access from anywhere. That structure makes VEX SOPs akin to "systems" in an ECS setup and the handling/scripting itself very fun & powerful. The GUI also provides spreadsheet views of the geometry (again similar to e.g. what FLECS provides for debugging). Considering the age of Houdini, I think this approach is notable...

    Blender's BMesh Radial Mesh implementation[1] is more traditional OOP structured, but the core idea of "discs" (aka bi-directional circular lists) of pointers to vertices & edges now seems somewhat relevant to some Sketchpad ideas too. Also a reminder that I really need to find/make time to update & release my own mesh implementation (from 2018) combining ideas from both Houdini & BMesh... It's already been a year (again) since I last talked about & touched it... 😱

    [1] developer.blender.org/docs/fea

    #Blender #Houdini #Mesh #Geometry #DataStructure #ECS #Sketchpad

  12. At first glance, bar charts might seem like a simple visualization type. But with a little creativity, they can be enhanced in countless ways to reveal deeper insights and make your data shine.

    The attached visual highlights a variety of bar chart styles to inspire your work.

    Take a look here for more details: statisticsglobe.com/online-cou

    #datastructure #data #tidyverse #rstats #package #datasciencetraining

  13. I recently made a very popular LinkedIn post about Simpson's Paradox, which resulted in an engaging conversation. Paul Julian made a great comment on the relationship between Mixed Effects Models and Simpson's Paradox that I wanted to share with you.

    In the plot below (generated from reproducible code – thanks, Paul!), you can see how different models compare:

    Original post: linkedin.com/posts/joachim-sch

    Further details: eepurl.com/gH6myT

    #datavisualization #database #datastructure #data

  14. Using dplyr and ggplot2 in R can significantly streamline your data analysis process, making it easier to work with complex data sets.

    I have created a video tutorial in collaboration with Albert Rapp, where I demonstrate how to do this in practice: youtube.com/watch?v=EKISB0gnue4

    #coding #datavisualization #rprogramming #dataviz #statisticalanalysis #package #datastructure #ggplot2 #bigdata #tidyverse

  15. 🟪 Harnessing the Power of Data Structure to Build Resilient Power Apps

    Too often, Power Apps makers jump into app building—without giving enough thought to data structure. In Ep. 55 of #PowerTalks, Griffin Lickfeldt from Citizen Developer explains why getting this step right from the start is critical for building scalable, secure, and AI-ready apps.

    💡 The Superpower of Dataverse
    🔍 Strategic Table Structuring
    ⚖️ Future-Proof Your Apps
    🔒 Security as a Cornerstone

    ▶︎ hubsite365.com/en-ww/citizen-d

    #DataStructure #PowerApps #CopilotStudio #CitizenDeveloper

  16. Mean imputation is a common method for handling missing values in numerical data. It replaces missing values with the mean of the observed values, ensuring the data set remains complete and easy to use.

    The image below illustrates the impact of mean imputation. The black line represents the original data distribution before imputation, while the red line shows the data distribution after imputation.

    Tutorial: statisticsglobe.com/mean-imput

    Newsletter: eepurl.com/gH6myT

    #datastructure

  17. 🧵 Thread on sorting algorithms.

    Starting with #StupidSort 🤪, an inefficient algorithm that sorts by randomly shuffling until the list is ordered.

    (1/3) ⬇️

    #computerscience #algorithm #sortingalgorithm #datastructure #coding #programming #software #softwaredevelopment #bigo #learntocode #codenewbie

  18. Shoutout to my friend Daniel, who is not on mastodon. He created an uber efficient slice implementation for joining/modifying/copying lists at scale. The blogpost and github README describe the algorithm. It's an interesting technical read if you have 10-20 minutes of spare time.

    daniel.avery.io/writing/fork-j

    #code #algorithm #datastructure #random

  19. Mean imputation is a straightforward method for handling missing values in numerical data, but it can significantly distort the relationships between variables.

    For a detailed explanation of mean imputation, its drawbacks, and better alternatives, check out my full tutorial here: statisticsglobe.com/mean-imput

    More details are available at this link: eepurl.com/gH6myT

    #research #datastructure #businessanalyst #data

  20. gganimate is a powerful extension for ggplot2 that transforms static visualizations into dynamic animations. By adding a time dimension, it allows you to illustrate trends, changes, and patterns in your data more effectively.

    The attached animated visualization, which I created with gganimate, showcases a ranked bar chart of the top 3 countries for each year based on inflation since 1980.

    More information: statisticsglobe.com/online-cou

    #datastructure #datavisualization #tidyverse #ggplot2

  21. Visualizing gene structures in R? gggenes, an extension of ggplot2, simplifies the process of creating clear and informative gene diagrams, making genomic data easier to interpret and share.

    Visualization: cran.r-project.org/web/package

    Click this link for detailed information: statisticsglobe.com/online-cou

    #datastructure #datavisualization #dataanalytics #data #tidyverse #datascientists #ggplot2

  22. @FizzyOrange

    Wow, this crate looks like the most feature-rich tree crate I've ever seen!

    It seems very underrated (only ~1000 downloads and one star on GitHub (by me)).

    Thank you for the suggestion!😊

    #Rust #RustLang #DataStructure #Tree #Algorithms

  23. #ReleaseMonday — One of the recent (already very useful!) new package additions to #ThingUmbrella is:

    thi.ng/leaky-bucket

    Leaky buckets are commonly used in communication networks for rate limiting, traffic shaping and bandwidth control, but are equally useful in other domains requiring similar constraints.

    A Leaky Bucket is a managed counter with an enforced maximum value (i.e. bucket capacity). The counter is incremented for each a new event to check if it can/should be processed. If the bucket capacity has already been reached, the bucket will report an overflow, which we can then handle accordingly (e.g. by dropping or queuing events). The bucket also has a configurable time interval at which the counter is decreasing (aka the "leaking" behavior) until it reaches zero again (i.e. until the bucket is empty). Altogether, this setup can be utilized to ensure both an average rate, whilst also supporting temporary bursting in a controlled fashion...

    Related, I've also updated/simplified the rate limiter interceptor in thi.ng/server to utilize this new package...

    #ThingUmbrella #DataStructure #RateLimiting #OpenSource #TypeScript #JavaScript

  24. I used to think that writing sophisticated R code meant using all the advanced features and chaining long functions together...

    Fancy code can be fun, but clean code makes collaboration and debugging so much easier.

    Stay informed on data science by joining my free newsletter. Check out this link for more details: eepurl.com/gH6myT

    #datastructure #datasciencecourse #datasciencetraining

  25. Ordered map на Go

    Omap — это пакет Golang для работы с потокобезопасными упорядоченными map. Упорядоченная map содержит map golang, list и mutex для выполнения функций упорядоченной map. Упорядоченная map— это map, которая запоминает порядок элементов. Map можно итерировать для извлечения элементов в том порядке, в котором они были добавлены.

    habr.com/ru/articles/882828/

    #go #map #caching #datastructure #index #dataprocessing #orderedmap #omap

Share on Mastodon

Enter the server where you have an account.