Learn to code

Nlogn is a platform to learn to code and prepare for product-based companies interview for free

Explore Topics

Choose from wide variety of available topics admired by 1000+ amazing learners.

Data Structure

Learn most popular data structures and their implementation

System Design

Learn how to design system architecture that can scale million of users

High Performance Computing

Learn how to aggregate computing power to deliver higher performance

Subscribe to our occasional newsletter

Join our community of 1000+ amazing learners and stay updated with our latest tech blogs and guide on how to ace coding interveiws.

We promise, we won't spam
Even we hate spam as much as you hate them

Practice Coding Interview Problems

Try some of the most popular interview questions

Coin Change: Find number of ways of representing n cents

Dynamic Programming

Designing a scalable URL Shortener like Tiny URL

System Design - Nlogn

Reverse a linked list in Linear Time without using extra space

Linked List

Insert, Search and Delete Operation in Binary Search Tree

Tree Data Structure

Latest blog post at Nlogn

Call by value and call by reference in C++

There are two ways to pass arguments to a function in CPP: Call by Value or Call by Reference. The Call by Value...

What are Long Polling, WebSockets, and Server-Sent Events

Before understanding Long Polling, WebSockets, Server-Sent Events lets understand how the basic communication over the internet using HTTP request happens. HTTP is the...

Designing Instagram Architecture – System Design

The prerequisite for learning the Instagram architecture design is, how to design a URL Shortner Service like a tiny URL. Please read it...

Count all possible paths between two vertices of a directed graph

Given a directed graph G, and two vertices: start s & end e, count all possible way of reaching the vertex e from...

Minimum number of swaps required to sort a given array

Problem Statement: Given an array of n distinct elements, we have to find the minimum number of swaps required to sort the given...

Detect Cycle in a Directed Graph

We are given a directed graph with V vertices and we have to find whether this directed graph contains a cycle or not....