Saurav Maheshwarixauravww.hashnode.dev·Apr 19, 2024Remove Duplicates in Sorted Array- Easy Leetcode Solution using TypeScriptUnderstanding the 'Remove Duplicates from Sorted Array' Problem The task is to remove duplicates from a sorted array of numbers and return the new length of the array without duplicates Problem Type- Easy https://leetcode.com/problems/remove-duplicat...DiscussData Structures and AlgorithmsDSA
Ishan Vaghelaishanv5.hashnode.dev·Apr 5, 2024Data Structures - Best Way To Build Your LogicThis Blog contains all concept of data structures which can be easily remember . Behind every click, swipe, and search, there's a complex dance of data and instructions. Data structures and algorithms are the choreography that makes it all work. What...Discuss·40 readsDynamic Programming
Noor Ahmednoor-ahmed.hashnode.dev·Apr 2, 2024Manipulate Data in ArraysIntroduction In this article I will show you some examples of how arrays can be manipulated to find certain information using the python programming language. What is an array An array is a data structure which is used for storing items of the same d...Discuss·28 readsarray
Samrat Kumar Dascolddsam.hashnode.dev·Mar 31, 2024Unveiling the Secrets of Data Structures: From Arrays to Trees## Unveiling the Secrets of Data Structures: From Arrays to Trees **Introduction** Data Structures are the foundation of computer science, serving as the backbone of programs and algorithms. They organize data in a specific manner, enabling efficie...Discussdata structures
Thirumalaitthirruu.hashnode.dev·Mar 17, 2024ArraysAn array is a structure of fixed-size, which can hold items of the same data type. It can be an array of integers, an array of floating-point numbers, an array of strings or even an array of arrays (such as 2-dimensional arrays). Arrays are indexed, ...Discussarrays
Charlie charliej.hashnode.dev·Mar 17, 2024Unlocking the Power of the for...of Iterator in JavaScriptIntroduction The for...of iterator is a powerful feature in JavaScript that allows you to iterate over objects, such as arrays, strings, maps, and sets. This post aims to explore the usefulness of the for...of iterator, providing real-world examples ...DiscussArray MethodsJavaScript
Jemin Kikanijemin.hashnode.dev·Mar 17, 2024Day 8 : What is an Array? And how many types of an Array Methods in javascript?Array An array is a special variable, which can hold more than one value. An array can hold many values under a single name, and you can access the values by referring to an index number. Syntax:- const array_name \= [item1, item2, ...]; Example:...DiscussNumeric Sort
Dhanushdhanushprofile.hashnode.dev·Mar 14, 2024Reverse Array - Java ProgramSolution in Java: import java.util.*; import java.io.*; class ReverseArray{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int arr[] = new int[n]; for(int i=0; i<n; i++){ arr[i] = sc.nextInt(); } f...Discuss·1 likeJavaJava
Nirbhay Singhnirbhaycodes.hashnode.dev·Mar 10, 2024Product of Array Except SelfProduct of Array Except Self Problem Link: https://leetcode.com/problems/product-of-array-except-self/description/ Hint: https://www.loom.com/share/c0477a0822e343ecb2dfee244488cc4e?sid=d36dbb54-70a3-4f80-90e9-18b9ba244f76 Code: class Solution { pub...Discuss·65 readsDSA prepleetcode
Chetan Dattachetan77.hashnode.dev·Feb 18, 2024493. Reverse PairsGiven an integer array nums, return the number ofreverse pairsin the array. (link) A reverse pair is a pair (i, j) where: 0 <= i < j < nums.length and nums[i] > 2 * nums[j]. Example 1: Input: nums = [1,3,2,3,1] Output: 2 Explanation: The reverse ...DiscussLeetcodereverse pairs