Sumudu SiriwardanaforSumudu Siriwardanasumudusiriwardana.hashnode.net·Nov 22, 2021JavaScript Arrays: Explain Like I'm FiveThe array is one of the fundamental and crucial concepts you encounter when learning JavaScript. Moreover, it is one data structure that many other complex ones build off. So it's important to have a solid foundational understanding and knowledge of ...Eleftheria Batsou and 5 others are discussing this6 people are discussing thisDiscuss·111 likes·1.1K readsJavaScript
Arimoro Olamilekan EzekielforArimoro Olamilekan Ezekiel's Bloglexitarblog.hashnode.net·Oct 1, 2021Rotating an Array by K Steps in JavaScriptIntroduction Recently I started a journey of solving at least one Data Structures and Algorithm question daily on Leetcode in order to understand the concepts I am learning well and it has been very challenging and interesting since I started solving...Adeyemi Buhari and 2 others are discussing this3 people are discussing thisDiscuss·105 likes·484 readsSolutions to Data Structures and Algorithm Questions on LeetcodealgorithmsNice article bro. I love your thought process and how you are able to explain it. Keep up the work. I'm excited for this series already 7
Siddhi GateforSiddhi Gate's Blogsiddhigate.hashnode.net·Sep 11, 2022I wrote polyfills for 32 JavaScript Array methods!Introduction While working on projects, I used many JavaScript methods. I was curious about their implementation. So, I tried to implement some of them and it was fun! Fast forward to today, I wrote polyfills for 32 JavaScript Array methods. In this...Anand Baraik and 1 other are discussing this2 people are discussing thisDiscuss·98 likes·4.7K readsJavaScript
Anirudha Patilforatomicjuggernaut.hashnode.net·Apr 24, 20232.1 JavaScript Interview Preparation: ArraysIf you are new to JavaScript, one of the essential concepts to grasp is arrays. An array is a data structure used to store a collection of values or elements under a single variable name. It is an ordered list of values that can be accessed and manip...Discuss·1 likeGeneral Programming
Romil KothariforRomil's Technical Blogromilse.hashnode.net·Apr 21, 2023Looping Through and Object IterationLooping is the Process of executing a set of statements repeatedly until a condition is met. Iteration is the process of executing a set of statements once for each element in a collection. For Loop Syntax: For(initialization, condition, iteration...DiscussLoops
Bandari sai kumarforBandari's blogtechrush.hashnode.net·Apr 20, 2023Merge Sorted Array C++ CodeTo merge two sorted arrays nums1 and nums2 into nums1, we can use a two-pointer approach. We will start with two pointers p1 and p2, initialized to the last valid element in nums1 and nums2 respectively. We will compare the elements at these pointers...Discuss·10 likesDSA
Bandari sai kumarforBandari's blogtechrush.hashnode.net·Apr 20, 2023Missing Number C++ CodeThe approach used in this code is to calculate the sum of all the numbers in the input array nums, and then subtract it from the sum of all the numbers in the range [0, n]. The difference between these two sums is the missing number. Let's go through...Discuss·10 likesDSA
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Apr 18, 2023DAY 3 of PYTHON top 100 questions : from Basic to Advanced !!Write a Python program to find the largest element in an array : a=[56,78,34,90,23,56,34] a.sort() print("The largest element is",a[-1]) Output: The maximum element is 90 The given code sorts the list a in ascending order and then prints the larges...Discussarray
Mojtaba MalekiforNeural Nonsensemojtabamaleki.hashnode.net·Apr 15, 2023A Beginner's Guide to Arrays in Python and C++Introduction Hey there, coding club members! I'm here to teach you all about arrays in Python and C++. Arrays are a fundamental data structure in programming, and understanding how they work is essential to becoming a proficient coder. So let's dive ...Discuss·10 likesUniversity of Debrecen Coding ClubPython
JunaidforJunaidmohd-junaid.hashnode.net·Apr 8, 2023Comprehensive Guide to the Top 20 Most Essential Array Methods in JavaScriptGreetings readers, welcome to this informative blog post discussing the top 20 most commonly used array methods in JavaScript. These methods are frequently used in JavaScript programming, and this post aims to provide a comprehensive overview of them...Discuss·12 likes·71 readsJavaScript
Sarthak ThakkarforSarthak's blogmonktech.hashnode.net·Apr 8, 2023Reject Arrays : Choose the Best Data Structure for Your CodeHey folks, long time no see! I'm back with a new blog post, so let's jump right in! Today I will cover why you should not always use an array as your data structure and switch up based on the use case. I have seen some of my friends and colleagues us...Discuss·13 likes·29 readsarray
Kumar Amitforkumaramit1947.hashnode.net·Apr 8, 2023Using Bit Manipulation to store the occurrence of characters with constant extra spaceProblem Link: Leetcode 2405: Optimal Partition of String Problem Statement: Note: Input string can have only lowercase characters. Understanding the problem: A substring is a contiguous sequence of characters within the string. Thus, the longest su...Discuss·10 likesbit-manipulation
Adarsh yadavforAdarsh yadav's blogyadav007.hashnode.net·Apr 8, 2023Creating array in JavaScriptlet a = [1, 2, 3, 4, 5, 6, "Aditya"]; console.log(a); let b = new Array(); console.log(b); let c = new Array(5); console.log(c); let d = new Array['abc']; console.log(d);DiscussJavaScript