Animesh Kumaranimeshk.hashnode.dev·Jun 23, 2024🦷 The Toothbrush Principle: Why Deleting Dynamic Arrays is Essential 💻Introduction Welcome to my first blog post! 🎉 Have you ever noticed how households tend to keep old toothbrushes in the stand instead of throwing them out? 🪥 Surprisingly, this habit mirrors a common mistake in programming: Creating dynamic arrays ...4 likes·55 readsC++
Vinay Kondurublog.deviant.works·Mar 30, 2024Make deletions in arrays blazingly fastIf we want to delete an item from an array at a random position without changing the order of items in the array, the time complexity of such operation would be linear, O(N) for traversal + additional O(N) for shifting all the items after the deleted...29 likes·102 readsdynamic arrays
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 28, 2023Bigger Example 3: Dynamic ArrayQuestion: Implement a dynamic array data structure in C that supports the following operations: Initialization with an initial capacity. Accessing an element at a given index. Setting the value at a given index. Inserting a new element at a speci...C Programmingarray
Oyewumi Favourfavouroyewumi.hashnode.dev·May 18, 2023Arrays [the easy guy]I would like to announce the start of a series of articles on Data Structures and Algorithms (DS&A). I will be writing about these topics in the simplest way possible, so please follow along and do not hesitate to send in your questions, arguments, a...12 likes·99 readsarrays
Nilesh Saininileshsaini.hashnode.dev·Apr 27, 2023Concatenation Of ArrayProblem Statement: Given an integer array num of length n, you want to create an array ans of length 2n where ans[i] == nums[i] and ans[i + n] == nums[i] for 0 <= i < n (0-indexed). Specifically, ans is the concatenation of two nums arrays. In Ja...63 readsleetcode
Jonah Goldsmithjonahmgoldsmith.hashnode.dev·Jan 13, 2023Simple Dynamic Array in CVectors/Dynamic Arrays are one of the most important data structures used in almost all programs. In C there is no notion of a dynamic array so the programmer must create their own. There are many ways to do this but my favorite way is Sean Barret's ...59 readsdynamic arrays
Ademola Thompsonsuperhero.hashnode.dev·Jan 1, 2023Solidity Arrays: How To Use Them In Your Smart Contracts.In programming, arrays are a fundamental type of data structure. When it comes to Solidity, they differ significantly from what you may be accustomed to in other programming languages. In this article, we'll look at how to use both fixed and dynamic ...1 like·489 readsSolidity
Syed Jafer Ksyedjaferk.hashnode.dev·Nov 22, 2022Learn Python With Us - Lists❗ Important Links **Series Link : **https://makereading.com/series/python**Challenges : **https://www.hackerrank.com/contests/makereading/challenges**Google Classroom: ** https://classroom.google.com/c/NTA3NzI5NTUzMDQz?cjc=2qcqsu5 Youtube What is a...1 like·177 readsCourse: Learn Python With UsPython 3
KyungCheol Kohkckoh.hashnode.dev·Sep 21, 2022Java Dynamic ArraysHello! In this article, i will explore dynamic arrays as well as the java implementation of ArrayList in JDK 1.8. Array First thing first, we need to understand what an array is. An array is a fixed-size data structure that stores elements. The prob...Java