Programming Tutorials

Curated development tutorials from top sources. Filter by language.

All python javascript php go ruby java rust typescript general sql css
dev.to realpython freecodecamp

Count Inversions in an Array

An inversion is a pair of indices (i, j) such that: i arr[j] In simple words, an inversion tells us how far an array is from being sorted.

java dev.to Jun 04, 2026

Collections in Java.

Java Collection Framework (JCF) is a set of classes and interfaces that provide ready-made data structures to store and manipulate groups of objects e

java dev.to Jun 04, 2026

File Handling in Java

What is File Handling? File Handling in Java is the process of creating, reading, writing, updating, and deleting files stored on a storage

java dev.to Jun 04, 2026

Find the Repeating and Missing Number

One number in the array appears twice, while another number from the range [1, n] is missing. Our task is to find both: Repeating Number (A) Missin

java dev.to Jun 04, 2026

Find the Duplicate Number

Problem Statement Given an array nums containing n + 1 integers where: Each integer is in the range [1, n] There is only one repeated nu

java dev.to Jun 04, 2026

Merge Sorted Array

At first glance, this problem looks like a standard merge operation from Merge Sort. Most candidates immediately think about creating a temporary arr

java dev.to Jun 03, 2026

Merge Intervals

One of the most common interval-based interview questions is Merge Intervals. At first glance, it looks like a simulation problem, but the real trick

java dev.to Jun 03, 2026

Rotate Image

Matrix problems often seem tricky because multiple rows and columns move at the same time. In this problem, we need to rotate an n × n matrix by 90 de

java dev.to Jun 03, 2026
« Prev Page 19 of 82 Next »