Remove duplicates from a string in JavaScript
Given a string, remove all the duplicate characters from it.
Algorithms, Data Structures, Competitive Coding, and problems from LeetCode with complete Solution Approach, Pseudocode, and Explanation.
Given a string, remove all the duplicate characters from it.
Given an array containing items (numbers and strings), remove all the duplicates.
In this post we will explore all the ways we can iterate through a given “string” in JavaScript. Different ways to iterate a JS string
In this post we will explore all the ways we can iterate through an object {} in JavaScript. Different ways to iterate a JS object
Given an array of objects with user data, merge the data combining the data of each user by adding their duration and equipment data. Equipment used must be merged without duplicates and then sorted in alphabetical order. 🔗 Data Merging 🟡 Medium 🧩 Pattern – Arrays & Objects Related: Join Two Arrays… Read More »Merge User Data – JavaScript
promise.all takes an iterable (objects that can be iterated over, usually array) as an input and returns a single promise which is resolved when all the promises in the list are resolved. Or it rejects immediately even if one of the input promises is rejected or throws an error. 🔗 Promise.all 🟡 Medium… Read More »Write a polyfill for promise.all()