---
title: "Kamlesh Choudhary (@kamlesh077) | Hashnode"
description: "Learn Build Grow. Read the latest articles by Kamlesh Choudhary on Hashnode."
url: "https://hashnode.com/@kamlesh077"
---

@kamlesh077

# Kamlesh Choudhary

@kamlesh077 · Joined August 2025

Learn Build Grow

### [🔄 Reverse Integer in JavaScript](https://blog.kamlesh.patel.com/reverse-integer-in-javascript?utm_source=hashnode&utm_medium=feed)

Reversing the digits of a number sounds simple… until you add conditions like negative numbers and integer overflow.This is a common interview problem that tests how well you handle edge cases. 🧩 Problem Statement Given an integer x, return the num...

3 min read · [blog.kamlesh.patel.com](https://blog.kamlesh.patel.com/reverse-integer-in-javascript?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2025](https://hashnode.com/posts/reverse-integer-in-javascript/68a891b875394fee5cacb0f9)

### [🔁 Palindrome Number in JavaScript](https://blog.kamlesh.patel.com/palindrome-number-in-javascript?utm_source=hashnode&utm_medium=feed)

🔁 Palindrome Number in JavaScript A palindrome is a word, phrase, or number that reads the same forward and backward. ✨ Examples: Words: madam, level, radar Numbers: 121, 1331, 444 Numbers like 123 or -121 ❌ are not palindromes. 🧩 Problem Sta...

3 min read · [blog.kamlesh.patel.com](https://blog.kamlesh.patel.com/palindrome-number-in-javascript?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2025](https://hashnode.com/posts/palindrome-number-in-javascript/68a890717a16a70c62112dd6)

### [🧮 Count Digits Problem & Math.functions( )](https://blog.kamlesh.patel.com/count-digits-problem-and-mathfunctions?utm_source=hashnode&utm_medium=feed)

Let’s break it step by step with logic, conditions, and edge cases: 🧮 Count Digits in a Number Function function countDigits(n) { if (n == 0) { return 1; } // Convert negative → positive n = Math.abs(n); let count = 0;...

2 min read · [blog.kamlesh.patel.com](https://blog.kamlesh.patel.com/count-digits-problem-and-mathfunctions?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2025](https://hashnode.com/posts/count-digits-problem-and-mathfunctions/68a88e41aad00954ee4c0a57)

### [🔁Star Pattern Printing in JavaScript – Deep Dive](https://blog.kamlesh.patel.com/star-pattern-printing-in-javascript-deep-dive?utm_source=hashnode&utm_medium=feed)

Let’s break everything down: 🔁 Pattern Printing in JavaScript – Deep Dive We use nested loops. Outer loop (i) → rows Inner loop (j, k) → columns (how many things to print per row) Conditions (i < n, j < n, etc.) decide when loops stop. 1️⃣ Sq...

5 min read · [blog.kamlesh.patel.com](https://blog.kamlesh.patel.com/star-pattern-printing-in-javascript-deep-dive?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2025](https://hashnode.com/posts/star-pattern-printing-in-javascript-deep-dive/68a88c814e6e1c59aecad7b9)

### [🔁 Nested Loops in JavaScript](https://blog.kamlesh.patel.com/nested-loops-in-javascript?utm_source=hashnode&utm_medium=feed)

A nested loop is a loop inside another loop.They’re often used for patterns, 2D arrays, or checking combinations of values. 1️⃣ Triple Nested Loop for (let i = 0; i < 3; i++) { for (let j = 0; j < 3; j++) { // console.log("i= " + i + " j= " +...

3 min read · [blog.kamlesh.patel.com](https://blog.kamlesh.patel.com/nested-loops-in-javascript?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2025](https://hashnode.com/posts/nested-loops-in-javascript/68a864dad8a70a36c242e919)
