Skip to main content

12 docs tagged with "python"

View all tags

Examples

Comparisons of DS&A tasks across different languages"

How to Build Tree Structures

Explore multiple techniques for converting flat or semi-structured data into trees in Python, including recursive, map-based, and bottom-up builds like Merkle trees.

Leetcode Toolbox: Surviving the Game

This section isn’t about data structures and algorithms — it’s about surviving the system. Tips and patterns to help you finish implementation before time runs out, even when your engineering instincts are working against you.

Matrix Toolbox

Handy Python snippets and patterns for working with 2D grids and matrices: initialization, bounds checking, neighbor offsets, and n-distance neighbors.