🌟 Day 4 — 21 Days Problem Solving Challenge 🌟 This post isn’t extraordinary — it’s just a small part of my learning story. Today, I faced lots of challenges, got stuck many times, and spent hours trying to solve problems. But in the end, I solved them all by myself — no AI, no Google, just pure logic and patience. The challenge was to solve everything without using any string or Math functions — only pure mathematics. Here’s what I worked on today 👇 1️⃣ Split Number into Digits Input: N = 12345 → Output: [1, 2, 3, 4, 5] 2️⃣ Remove the Decimal Point (Mathematically) Input: N = 12.34 → Output: 1234 3️⃣ Separate Whole and Fractional Parts Input: N = 5.75 → Output: Whole = 5, Fraction = 0.75 4️⃣ Count Whole and Fractional Digits Separately Input: N = 12.345 → Output: Whole Count = 2, Fraction Count = 3 5️⃣ Generate a Decimal Number from Whole and Fractional Digits Input: Whole = [1, 2], Fraction = [3, 4] → Output: 12.34 6️⃣ Check if a Number is a Palindrome Input: N = 121 → Output: Palindrome 7️⃣ Check if a Number is an Armstrong Number Input: N = 153 → Output: Armstrong Number ✨ Example: 1³ + 5³ + 3³ = 153 This series is really helping me sharpen my logical thinking and improve how I approach problems. If you’re an absolute beginner and want to take your problem-solving skills to the next level, I highly recommend checking out Anurag Singh’s free YouTube series. Every day is a new challenge, a new lesson, and a small victory. #WebDevelopment #FrontendDevelopment #WebDeveloper #JavaScript #HTML #CSS #ReactJS #React #TailwindCSS #Tailwind #Coding #Programming #100DaysOfCode #LearningJourney #ProjectTips #CodeChallenge #LearningToCode #BuildInPublic #CodingTips #CareerGrowth #Innovation #Technology #WebDesign #DevProjects #LogicBuilding #JSLogic

To view or add a comment, sign in

Explore content categories