Ninad Pathak

Ninad Pathak

Ninad Pathak is a founding member and Editor in Chief at CodeForGeek. He writes about practical AI tooling and developer workflows, and outside work you will likely find him with a book, hot brewed coffee, and ambient music.

Linear Regression Model for Data Points

Linear Regression Model for Data Points

A set of measurements can show how one value changes as another changes, and a fitted line can help estimate the outcome. A linear regression model fits coefficients for a line that estimates a numeric target from input features. I’ll…

Minimum Cost Path Dynamic Programming in C++

Minimum Cost Path Dynamic Programming in C++

In a right-and-down grid, each route adds the costs of the cells it visits. Minimum cost path dynamic programming compares the best totals from above and the left to find the lowest total for each cell. I’ll show how to…

Fibonacci Series with Dynamic Programming in C++

Fibonacci Series with Dynamic Programming in C++

A C++ program that calculates Fibonacci terms can repeat work when it uses direct recursion. Dynamic programming builds each term from the two before it and keeps earlier results available for later calculations. I’ll show how to calculate the sequence…

Free Online XML Formatter

Dart Getting Started Guide: Install and Run Your First Program

When XML arrives as a dense block of text, it can be difficult to see which elements sit inside others. An online XML formatter adds line breaks and indentation to make that structure visible. This piece walks through formatting XML…

Funny Programming Quotes for Developers

Funny Programming Quotes for Developers

Presentations about software sometimes call for a line that connects a point on a slide to everyday developer work. Funny programming quotes turn familiar software situations into jokes. This article shares programming quotes and explains how to check their wording…

How to Use cbind() in R

How to Use cbind() in R

Values stored separately in R may need to be combined as columns. cbind() combines inputs side by side as columns. In this piece, I’ll show how cbind() adds columns to a result and explain what to check before binding. TL;DR…

Wines Problem Dynamic Programming in C++

Wines Problem Dynamic Programming in C++

The wines problem asks you to sell one bottle from either end of a row each year, with the sale year multiplying its price. Dynamic programming solves it by storing the best revenue for each interval of bottles still in…

Tower of Hanoi in C: Solve the Puzzle

Tower of Hanoi in C: Solve the Puzzle

The Tower of Hanoi puzzle asks you to move a stack of disks between three pegs without placing a larger disk on a smaller one. A C program can print the legal move sequence, one disk at a time. In…