#datastructure
Read more stories on Hashnode
Articles with this tag
LeetCode 122 · Introduction Given an array of daily stock prices, determine the maximum profit achievable through a series of transactions. You can buy...
Given a nested array, write a code to extract all the values from the display into a single-dimensional array. //Example. const input = [1, [2, [3,...
LeetCode 125 · What is Palindrome? A palindrome is a string or a number read the same backward or forward. Ex: 101, 1331, 11, PEEP, ROTATOR, etc are some...
LeetCode 409 · What is Palindrome? A palindrome is a string or a number that is read the same backward or forward. Ex: 101, 1331, 11, PEEP, ROTATOR, etc...
Two Approach · Problem Description You are given a list of words present in a book. Your younger brother is curious to know the K most frequent words in...