Skip to main content

Posts

Showing posts matching the search for programming

Linear Programming VS Dynamic Programming

When considering about the difference between Linear Programming (LP) and Dynamic Programming (DP) isn't just about "math vs. code"; it’s about the structure of the decision space . LP is about spatial optimization within fixed boundaries(finding the best arrangement at one point in time within fixed constraints), while DP is about temporal optimization through a sequence of connected choices(finding the best outcome over time by breaking a problem into stages). Image generated with AI ⭕ Dynamic Programming (DP):   DP is a general framework used when a problem  has "overlapping subproblems" and an "optimal substructure". It is the standard for sequential decision-making, such as finding the shortest path or managing inventory over time.   ⭕Linear Programming (LP):  LP is a powerful tool for large-scale resource allocation where systems are highly structured. It is widely used in industries for logistics, production planning, and scheduling where ...

Programming Without and With AI

👀Programming Without AI refers to traditional software development, where a computer program is designed to perform a specific set of tasks based on explicit rules coded by the programmer. Traditional  programming without AI relies on explicit rules and instructions written by humans. Every possible situation has to be anticipated in advance, and the program follows fixed logic to produce results.  In contrast, programming with AI allows systems to learn from data, adapt to new situations, and improve over time . The image below illustrates the fundamentals of AI, showing how it expands from general Artificial Intelligence into Machine Learning, Neural Networks, and Deep Learning , each adding more advanced capabilities. AI Layers Explained This layered structure highlights how modern AI has moved beyond simple rule-based systems into powerful learning models capable of tasks such as image recognition, natural language processing, and autonomous decision-making.  👀 Bef...

Why are APIs so important?

This is a common example which is used to give the introduction to APIs - think of it as a waiter in a restaurant: you (the application) tell the waiter what you want from the kitchen (another application). The waiter (the API) takes your request, communicates it to the kitchen, and then brings the response (your food) back to you. You don't need to know how the kitchen operates, just how to order from the menu. APIs, or Application Programming Interfaces, act as a contract for communication between different software systems. They allow one piece of software (the client) to request services or data from another piece of software (the server or service provider) in a defined and structured way, without needing to know the internal workings of the other system. They are essentially a set of protocols that govern how software applications should interact. Now below I have discussed about the basics of APIs: types(web APIs and other types) and about the components of APIs. API Types A...

.NET Ecosystem Overview - Roadmap

In this blog series we'll discuss about a roadmap to learn .NET framework. There are 10 stages in this roadmap below I have listed the stages which will guide you when learning this framework; 🌐Introduction to the .NET Framework The .NET Framework is Microsoft’s powerful software development platform, first released in 2002 . Back then, building applications was often messy—developers had to deal with different programming languages, inconsistent APIs, and limited tools. Microsoft’s vision was simple: create a single, unified platform where developers could build desktop apps, web apps, and services using a common foundation. Over the years, .NET has evolved dramatically. It started with the classic .NET Framework , then moved to the open-source and cross-platform .NET Core , and finally merged into today’s modern .NET 5, 6, and beyond , which powers apps on Windows, Linux, macOS, mobile, and even cloud containers. Real-world apps built on .NET include Stack Overflow, Microsof...