---
title: "Kunal Dubey (@eyeamkd) | Hashnode"
description: "A Full Time Dreamer! Read the latest articles by Kunal Dubey on Hashnode."
url: "https://hashnode.com/@eyeamkd"
---

@eyeamkd

# Kunal Dubey

@eyeamkd · Joined February 2021

A Full Time Dreamer!

### [You Don't Know Promises](https://kunaldubey.com/you-dont-know-promises?utm_source=hashnode&utm_medium=feed)

Building JavaScript Promises from Scratch

6 min read · [kunaldubey.com](https://kunaldubey.com/you-dont-know-promises?utm_source=hashnode&utm_medium=feed)

[Jan 26, 2024](https://hashnode.com/posts/you-dont-know-promises/65b3a7d8c0cbedd6f1577d62)

### [Nest.js First Impressions](https://kunaldubey.com/nestjs-first-impressions?utm_source=hashnode&utm_medium=feed)

When I joined Mooofarm, my Head of Engineering gave me access to all the backend repos and asked me to find any scope of improvements by EOD. Although the backend was structured well, and had BAO and DAO layers, what I saw was a loosely typed system ...

2 min read · [kunaldubey.com](https://kunaldubey.com/nestjs-first-impressions?utm_source=hashnode&utm_medium=feed)

[Dec 26, 2023](https://hashnode.com/posts/nestjs-first-impressions/658ae7b00fa01f1301472430)

### [Leetcode 1168. Optimize Water Distribution in a Village](https://kunaldubey.com/leetcode-1168-optimize-water-distribution-in-a-village?utm_source=hashnode&utm_medium=feed)

Problem Link: https://leetcode.com/problems/optimize-water-distribution-in-a-village/ Problem Statement Explanation: Imagine that we have 'n' number of houses in a village that need to be supplied with water, but to supply the water from one house ...

4 min read · [kunaldubey.com](https://kunaldubey.com/leetcode-1168-optimize-water-distribution-in-a-village?utm_source=hashnode&utm_medium=feed)

[Oct 11, 2023](https://hashnode.com/posts/leetcode-1168-optimize-water-distribution-in-a-village/6526c0d1997eb63e28bf39d7)

### [Leetcode 343 Integer Break](https://kunaldubey.com/leetcode-343-integer-break?utm_source=hashnode&utm_medium=feed)

Understanding the Problem Statement Problem Link: https://leetcode.com/problems/integer-break/ The problem states that given a number, if we express that number as a sum of K integers, where K>=2, what could be the maximum product that we can get a...

3 min read · [kunaldubey.com](https://kunaldubey.com/leetcode-343-integer-break?utm_source=hashnode&utm_medium=feed)

[Oct 7, 2023](https://hashnode.com/posts/leetcode-343-integer-break/6521af37bcc2a68936f0f816)

### [Designing a Domino's Pizza using Decorator Design Pattern](https://kunaldubey.com/designing-a-dominos-pizza-using-decorator-design-pattern?utm_source=hashnode&utm_medium=feed)

If you'd ask me to choose one type of food that I could eat until I die, it would for sure be a Pizza, the irony being if I eat Pizza every day I would die sooner than later. Anyway, it would be interesting to see how can a Pizza making process be de...

4 min read · [kunaldubey.com](https://kunaldubey.com/designing-a-dominos-pizza-using-decorator-design-pattern?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/designing-a-dominos-pizza-using-decorator-design-pattern/646893b9df62c1e75bccbbd0) [May 20, 2023](https://hashnode.com/posts/designing-a-dominos-pizza-using-decorator-design-pattern/646893b9df62c1e75bccbbd0)
