AEAbdulrhman Elsaedinapdoelsaed.hashnode.dev·May 21, 2022 · 5 min readSliding Window Technique in JavaScriptIntroduction Sliding Window Technique is one of the common dynamic programming techniques, frequently used to optimize algorithms that involve searching an array or string for a consecutive subsection that satisfies a given condition by reducing its ...00
AEAbdulrhman Elsaedinapdoelsaed.hashnode.dev·May 19, 2022 · 7 min readThe Observer PatternIntroduction The Observer pattern is considered the ideal solution for modeling the reactive nature of Node.js. It works by defining an object (called subject) that can notify a set of observers (or listeners) when a change in its state occurs. The ...02SM
AEAbdulrhman Elsaedinapdoelsaed.hashnode.dev·May 3, 2022 · 5 min readAvoid Unleashing Zalgo in Node.jsSynchronous or asynchronous ? which one should i choose while implementing an API ? what the hell does unleashing zalgo means ? Before answering those questions, let's first clarify differences between sync and async callbacks : synchronous callbac...00