Day 7 of #Code2Grow "ATM Simulator" in C Today’s challenge focused on applying logic to real-life scenarios. I built a simple ATM simulator that allows users to deposit, withdraw, and check their balance, with real-time updates and service charges applied. This task helped me strengthen my understanding of loops, conditionals, and data handling in C. Check out my short video explaining how it works! #SRMAPCoding #Day7Challenge #Code2Grow #CProgramming #CodingJourney #LearnByDoing Dr. Yasir Afaq
More Relevant Posts
-
Spec-driven development in #Agentic IDEs helps wrangle a potentially forgetful or aimless coding agent to be successful when implementing larger features and projects. Alan Shimel at Techstrong TV and I chatted about how spec-drive development in #AI IDEs like #Kiro can help you write more secure code while keeping the speed and fun of vibecoding. Watch the 20 minute segment here: https://lnkd.in/gjjpPSyP
To view or add a comment, sign in
-
It's cool when coding problems are connected to the things we have experience with. It's a nice reminder of how algorithms are used in the real world. In this problem, we can use graph traversal to simulate the actions or steps of a Minesweeper game. The post: https://lnkd.in/d2BZQrcG The problem: https://lnkd.in/dBu7kFFX #LeetCode #DSATips #DSA #ThinkDSA #ProblemSolving
To view or add a comment, sign in
-
-
🚀 LeetCode Daily Challenge – Day 7 (November 2025) 🧩 Problem: 2528. Maximize the Minimum Powered City 📚 Topic: Binary Search | Greedy | Prefix Sum | Difference Array 🔍 Approach: Implemented a binary search on the possible minimum power value for cities. Used a difference array technique to efficiently simulate adding extra power stations across city ranges in O(n) time. This method optimizes performance by avoiding costly nested loops that lead to TLE in brute-force solutions. ✅ Time Complexity: O(n × log (maxPower)) ✅ Space Complexity: O(n) 💡 Key Takeaway: Transforming a brute-force range update into a difference-array-based greedy check can turn a TLE solution into an optimized, efficient algorithm ⚡ #LeetCode #LeetcodeDailyChallenge #DSA #BinarySearch #Greedy #PrefixSum #Optimization #Day5 #Coding #Programming #Engineering
To view or add a comment, sign in
-
-
#GOTOpodcast: Prof. Andreas Zeller joins Clare Sudbery (she/her) to tackle one of programming’s biggest blind spots: debugging. 🧠 We spend half our time fixing bugs — yet almost no time learning how to 🧩 Debugging as risk management for your codebase 🤖 And as AI writes more of our code, understanding how to debug it becomes even more critical 🎧 Learn why debugging deserves a front-row seat in programming education: 👉 gotopia.tech/podcast
To view or add a comment, sign in
-
-
GATs, inline consts, & async ergonomics are boosting performance & developer productivity. Rust 2025 is elegant & expressive 💃 🕺. WASM, embedded, & CLI ecosystems are growing fast thanks to Rust’s new compiler & stdlib gains. Edge-ready, zero-footprint Rust is thriving. With better IDE tooling, diagnostics, & macro hygiene, Rust is removing friction at scale. Safe systems programming has never moved this fast. #Rust2025 #DeveloperExperience #AsyncProgramming #CompileTimeSafety #ProgrammingLanguages
To view or add a comment, sign in
-
Exploring something new in tech! Recently, I came across a browser called Comet, and I was genuinely impressed by how fast, smooth, and privacy focused it is compared to traditional ones. As someone who spends a lot of time coding, researching, and testing new tools, I thought why not share it with everyone? So I made a step-by-step video tutorial showing exactly how to download, install, and get started with Comet easily. Follow the exact same steps shown in my video to complete your installation properly. And here’s the best part if you download it using my referral link, you’ll get access to the PRO version of Comet Browser completely FREE! If you’re someone who loves exploring new, efficient, and powerful tools for better productivity — this one’s worth a try. Download Comet using my referral link: https://lnkd.in/dZVshcRY #CometBrowser #TechTools #FullStackDeveloper #Productivity #Innovation #WebDevelopment #StudentDeveloper
To view or add a comment, sign in
-
In this program, I used a while loop to print numbers in reverse order (from 10 down to 1). ⏬ Instead of increasing the value, this time I used the decrement operator (n--) to reduce the number step by step — a simple but powerful way to understand how loops can work in both directions! 🔁 ✨ Concepts Covered: ➡️ Variable initialization (n = 10;) ➡️ Loop condition (n >= 1) ➡️ Decrement operator (n--) ➡️ Output with printf() Practicing reverse loops helps in understanding control flow — useful in countdown timers, reversing arrays, and more! 🚀 #CProgramming #WhileLoop #CodingBasics #ProgrammingJourney #LearnToCode #Countdown #CodePractice 💻
To view or add a comment, sign in
-
-
💻 Problem Solving Update | 10th November 2025 Had a productive day solving two interesting problems — one from GFG and another from LeetCode 👇 🔹 GFG POTD — Stock Buy and Sell with Cooldown Implemented an optimized Dynamic Programming (Space Optimization) approach. ➡ Used a 3-state DP array to represent current, next, and cooldown states. ➡ Iterated from the end toward the start, updating buy/sell decisions based on previous states. ➡ Finally achieved an O(N) time and O(1) space solution. 🔹 LeetCode — Minimum Operations to Convert All Elements to Zero Initially tried a recursive DFS approach that reduced subarrays recursively by their minimum values — but it failed on a specific edge case ([4, 4]). Refined the solution to a more elegant stack-based approach: ➡ Traverse the array while maintaining a monotonic stack. ➡ When encountering a smaller element, pop larger ones (representing completed reductions). ➡ Push new unique heights to represent new “levels” of operations. ➡ Count each push as an operation. This efficiently handled all edge cases and passed all test cases ✅ Every day’s problem teaches something new — today it was about space optimization in DP and rethinking recursive logic into iterative stack mechanics 🧠 #ProblemSolving #DynamicProgramming #LeetCode #GeeksForGeeks
To view or add a comment, sign in
-
🚀 Zed just dropped on Windows, and honestly, it’s a game-changer for AI-assisted development. Tired of bloated, sluggish IDEs trying to bolt AI into ageing architecture? So was everyone else. ❌ The Frustration Most “AI-powered” editors feel like science fair demos They're either too slow, too limited, or just clunky wrappers around VS Code. You’re trying to build production-level software. Do not wrestle with tools pretending to be intelligent. ✅ The Solution: Zed Zed is a lightning-fast, Rust-built code editor designed for serious AI workflows and human-AI collaboration And no 😮 it’s not a Visual Studio Code fork. 🔧 What Makes It Stand Out 🧠 Claude Code + Gemini CLI fully integrated AI pair programming feels native, not hacked together Gemini CLI even has a free tier, so you can test it risk-free 🐞 Native multi-language debugger Set breakpoints, step through logic, and inspect variables Even let AI agents help resolve errors right inside the editor 🌐 Remote browser debugging Debug web apps running in SSH or WSL by launching Chrome locally ⚡ Codex agent now live The most requested feature, fully integrated and blazing fast Built for speed inside Zed’s lightweight environment 🧰 Full dev toolset Git integration, edit predictions, multi-buffer editing, built for real devs, not toy projects. 💡 Why It Matters Most “agentic IDEs” are overengineered and underperforming Zed flips the script, built from the ground up for speed, extensibility, and AI-native workflows If you're building agentic systems, prototyping AI tools, or just tired of slow, bloated editors, Zed deserves a serious look. 🔗 Try it now, free and open source: https://zed.dev #ZedEditor #AI #AgenticIDE #OpenSource #DeveloperTools #RustLang #AIcoding #Claude #Gemini #Codex #Debugging #AIWorkflow #Productivity #DevTools
To view or add a comment, sign in
-
People often misjudge how easy it is to compose a smart looking piece of code for a feature... and also misjudge how hard it is to write dumb code for a dumb feature but with security, scalability, modularity, flexibility, testability, usability and all the other -ities. I am less worried about vibe coding and more worried about vibe code-reviewing. Instead of LGTM (looks good to me), we may soon or are already seeing FGTM (feels good to me). -Reflections from a recent code review #codereview #programming #coding #vibecoding
To view or add a comment, sign in
Aspiring MERN Developer | Super Contributor to open source | Solving DSA on LeetCode | Building Scalable Web Apps with JS, React, Node.js & MongoDB | Turning Ideas into High-Performance Products
3wIts informative Tanisha Verma