Optimizing Daily Temperatures: A Linear Time Complexity SolutionLeetcode Problem: Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait after the i<sup>th</sup> day to get a warmer temperature. If there is no fu...Jul 21, 2023·3 min read
Finding the Length of the Longest Consecutive Sequence in Javascript #leetcode 128Jun 20, 2023·3 min read
Encoding and Decoding a String - A Simple Algorithm Using Javascript #Leetcode 659Leetcode Design an algorithm to encode a list of strings to a string. The encoded string is then sent over the network and is decoded back to the original list of strings. In this blog post, we will explore a simple algorithm to encode and decode a g...Jun 20, 2023·3 min read