life is too short for a diary

Most popular




Why Math.max() is Less Than Math.min() in JavaScript

JavaScript is full of surprises and unexpected behaviors that often leave developers scratching their heads. One of those strange behaviors is the fact that Math.max() < Math.min() is true in JavaScript. In this blog, we'll delve into the underlying reasons for this seemingly paradoxical result...

Continue reading → Tags : javascript






Time Based Key-Value Store Solution

Design a time-based key-value data structure that can store multiple values for the same key at different time stamps and retrieve the key's value at a certain timestamp...

Continue reading → Tags : java leetcode






Understanding Date Formatting in Angular

Angular provides the DatePipe for formatting dates. You can use it directly in your templates with the pipe syntax, or you can use it programmatically in your components...

Continue reading → Tags : angular