Kurumi writes

Tech and personal stories


Python

  • Two Ways to Create 2D Arrays in Python

    I recently spent 30 minutes debugging a LeetCode problem* because I was creating 2D arrays incorrectly. To avoid making the same mistake again, I researched how to generate 2D arrays in Python. *This is the problem that I was working on: https://leetcode.com/problems/palindrome-partitionin Two Methods for Creating 2D Arrays in Python Nested for loops [Recommended] This… Continue reading