Skip to main content
Pratap Sharma profilePratap Sharma
AboutBlogsCourses

coding

Eight Steps to solve coding interview question thumbnail

Eight Steps to solve coding interview question

May 23rd, 2021 - 9 mins read
Tree: Height of a Binary Tree thumbnail

Tree: Height of a Binary Tree

May 19th, 2021 - 4 mins read
Tree - Inorder Traversal thumbnail

Tree - Inorder Traversal

May 19th, 2021 - 4 mins read
Tree - Postorder Traversal thumbnail

Tree - Postorder Traversal

May 19th, 2021 - 4 mins read
Find two lines, that the container contains the most water thumbnail

Find two lines, that the container contains the most water

May 17th, 2021 - 4 mins read
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target thumbnail

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target

May 16th, 2021 - 4 mins read
Tree - Preorder Traversal thumbnail

Tree - Preorder Traversal

May 30th, 2020 - 4 mins read
Find if an array contains at least two elements which differ by 1 thumbnail

Find if an array contains at least two elements which differ by 1

May 29th, 2020 - 4 mins read
Wizard Meet-up - Find the cheapest way for Wizard level X to meet wizard level Y thumbnail

Wizard Meet-up - Find the cheapest way for Wizard level X to meet wizard level Y

April 28th, 2020 - 4 mins read
Min Stack - Design a stack that supports push, pop, top, and retrieving the minimum element in constant time thumbnail

Min Stack - Design a stack that supports push, pop, top, and retrieving the minimum element in constant time

April 26th, 2020 - 4 mins read
Backspace String Compare - Given two strings S and T, return if they are equal thumbnail

Backspace String Compare - Given two strings S and T, return if they are equal

April 23rd, 2020 - 4 mins read
Happy Number - Write an algorithm to determine if a number n is happy thumbnail

Happy Number - Write an algorithm to determine if a number n is happy

April 15th, 2020 - 4 mins read
Single Number - Given a non-empty array of integers, every element appears twice except for one. Find that single one thumbnail

Single Number - Given a non-empty array of integers, every element appears twice except for one. Find that single one

April 15th, 2020 - 4 mins read
Ko-fiPatreonTweetsRSSNewsletterSIP Calculator
NetlifyNext.jsYouTube
Copyright © 2026. Pratap Sharma