coderz.py

Keep Coding Keep Cheering!

DSA: Linked List

What is a Linked List? A linked list is a linear data structure composed of nodes, each of which holds a value and a reference (or pointer) to the next node in the list. The first node is referred to as the list’s head, while the last node is referred to as the list’s tail. […]

May 14, 2023 | Data Structure | No comments

DSA: SubArray

What is a SubArray? A subarray is a sequence of elements within an array that is contiguous. In other words, a subarray is a section of an array that contains consecutive elements in the same sequence as the original array. Subarrays can range in length from a single element (also considered a subarray) to the […]

April 12, 2023 | Data Structure | No comments

Array Carry Forward

What is Carry Forward? The word “carry forward” does not refer to a specific idea in data structures and algorithms. However, “carry forward” in the context of arrays often refers to the process of relocating entries in an array to fill in empty spaces left by deleted or removed elements. This is also referred to […]

April 12, 2023 | Data Structure | No comments

Prefix Sum in Arrays

What is Prefix Sum? Prefix Sum is a method for dealing with array manipulation challenges. It entails establishing an auxiliary array in which each element keeps the sum of all the components preceding it(including the current element). A prefix sum array is another name for this auxiliary array. Sample example to understand the concept: Explanation: […]

April 10, 2023 | Data Structure | No comments

DSA: Concept of Array

A group of related data elements stored at adjacent memory locations is referred to as an array. One of the most basic data structures, it allows for random access to each data element by its index number. Properties of an Array: Arrays contain a number of crucial characteristics that make them helpful in a wide […]

April 9, 2023 | Data Structure | No comments

Advertisement