Home
Priyanshu Tiwari
Cancel

# Binary Tree II | Striver’s SDE Sheet

Problem 1: Reverse Words in a String You are given a string of length N. You need to reverse the string word by word. There can be multiple spaces between two words and there can be leading or tra...

# Binary Tree I | Striver’s SDE Sheet

Problem 1: Reverse Words in a String You are given a string of length N. You need to reverse the string word by word. There can be multiple spaces between two words and there can be leading or tra...

# String II | Striver’s SDE Sheet

Problem 1: Reverse Words in a String You are given a string of length N. You need to reverse the string word by word. There can be multiple spaces between two words and there can be leading or tra...

# String I | Striver’s SDE Sheet

Problem 1: Reverse Words in a String You are given a string of length N. You need to reverse the string word by word. There can be multiple spaces between two words and there can be leading or tra...

# Stack & Queue II | Striver’s SDE Sheet

Problem 1: Nth Root Of M You are given two positive integers N and M. You have to find the Nth root of M i.e. M^(1/N). Code Studio GFG Worst Import math library and use built-in methods. ...

# Stack & Queue I | Striver’s SDE Sheet

Problem 1: Nth Root Of M You are given two positive integers N and M. You have to find the Nth root of M i.e. M^(1/N). Code Studio GFG Worst Import math library and use built-in methods. ...

# Heap | Striver’s SDE Sheet

Problem 1: Nth Root Of M You are given two positive integers N and M. You have to find the Nth root of M i.e. M^(1/N). Code Studio GFG Worst Import math library and use built-in methods. ...

# Binary Search | Striver’s SDE Sheet

Problem 1: Nth Root Of M You are given two positive integers N and M. You have to find the Nth root of M i.e. M^(1/N). Code Studio GFG Worst Import math library and use built-in methods. ...

# Backtracking | Striver’s SDE Sheet

Problem 1: Subset Sums Given a list arr of N integers, print sums of all subsets in it. Note: Return all the element is increasing order. Geeks For Geeks Brute class Solution { public: ...

# Array I | Striver’s SDE Sheet

Problem 1 Find the duplicate in an array of N+1 integers. Leetcode Worst Just apply mergesort Time Complexity: $O(nlogn)$ Auxiliary Space: $O(n)$ Better Count the occurences of 0,1,...

# August | 2022 | Leetcoding Challenge

01 July | 62. Unique Paths There is a robot on an m x n grid. The robot is initially located at the top-left corner (i.e., $grid$). The robot tries to move to the bottom-right corner (i.e., ...

# August | 2022 | POTD GFG

01 | Egg Dropping Puzzle You are given N identical eggs and you have access to a K-floored building from $1$ to $K$. There exists a floor f where $0 &lt;= f &lt;= K$ such that any egg dropped at ...

# July | 2022 | POTD GFG

01 July | Matrix Exponentiation Given an equation of the form $f(n) = f(n-1) + f(n-2)$ where $f(0) = 1$ , $F(1) = 1$ , the task is to find the nth term of this sequence. Practice O(n) int F...

# June | 2022 | POTD GFG

28 June | Sum of elements between k1’th and k2’th smallest elements Given an array $A[ ]$ of $N$ positive integers and two positive integers $K1$ and $K2$. Find the sum of all elements between \$K_...

# June | 2022 | Leetcoding Challenge

21 June | 1642. Furthest Building You Can Reach You are given an integer array heights representing the heights of buildings, some bricks, and some ladders. You start your journey from building 0...

Trending Tags