Vimal Murugesannextwithme.hashnode.dev·12 hours agoMerge Two Strings (Leetcode 75 series).You are given two strings word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a string is longer than the other, append the additional letters onto the end of the merged string. Return the merged string....leetcode
Himanshu Kumarslidingwindowtemplate.hashnode.dev·13 hours agoSliding Window TemplateSliding Window Cheatsheet Template : Template 1: Sliding Window (Shrinkable) Key Idea Start with an initial window [i, j] and expand it by incrementing j. Whenever the window becomes invalid, shrink it by incrementing i until it is valid again. Ke...SlidingWindow
Vishal Nayakvishalnayak.hashnode.dev·16 hours agoUnleashing the Power of Customized Array Methods in JavaScript.Introduction In the realm of JavaScript, arrays serve as the backbone of many operations. They offer a flexible structure to store and manipulate data efficiently. With the introduction of ES6, JavaScript arrays have become even more powerful, thanks...JavaScript
Rahul Rathodrahulcode19.hashnode.dev·Jan 16, 2025Hello !I am just trying to crack DSA. Sharing the learning along. Happy Coding RahulDSA
Mikeydraken.hashnode.dev·Jan 15, 2025Zero Bit In JavascriptIn JavaScript, a variable representing a "zero bit" means it holds no set bits, which is simply the number 0. Here’s how you can work with such a variable and manipulate it effectively: Initializing a Zero-Bit Variable You can declare and initialize...zero-bit
Junaid Bin Jamanjunaidbinjaman.help·Jan 13, 2025Essential JavaScript Built-In Functions for Problem SolvingJavaScript comes with a treasure trove of built-in functions that make solving algorithmic and coding challenges a lot easier. While some of these functions might not appear frequently in day-to-day development, they can be game-changers when tacklin...Data Structures and AlgorithmsJavaScript
Reuben D'souzareubendsouza.hashnode.dev·Jan 13, 2025Strings - IRemove outermost parenthesis Input: s = "(()())(())" Output: "()()()" Explanation: The input string is "(()())(())", with primitive decomposition "(()())" + "(())". After removing outer parentheses of each part, this is "()()" + "()" = "()()()". ...DSA
Junaid Bin Jamanjunaidbinjaman.help·Jan 13, 2025Problem-Solving Patterns: A Step-by-Step TutorialSolving problems efficiently and effectively is a key skill for developers, engineers, and critical thinkers. In this tutorial, we’ll explore a structured problem-solving pattern to break down any challenge and craft a robust solution. Whether you're...Data Structures and AlgorithmsDSA
Nwosu Promise Okennaokenna.hashnode.dev·Jan 11, 2025ALGORITHMS: Implementing Selection Sort Algorithm In JavaScriptIntroduction Suppose you are organizing a deck of cards, and you want to sort it from the smallest to the largest. Naturally, you might look through the cards, find the smallest one, and place it first. Then you would look for the next smallest, and ...15 likesData Structures And AlgorithmsJavaScript
Ajay Kumar Deyajaydey.hashnode.dev·Jan 9, 2025Linked Lists in CWhat is a Linked List ?? A linked list is a dynamic data structure used to store a sequence of elements. Unlike arrays, linked lists do not store elements in contiguous memory locations. Instead, each element, known as a node, consists of two parts: ...#linkedlists