Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
syednajamusaqib
Current POTD Streak
STREAK
127
/1477
days
Longest streak/Global longest streak
Institution
Punjab University College of Information Technology Lahore
2 Rank
Institute Rank
Language Used
C++, Python
Coding Score
1104
Problem Solved
346
Contest Rating
__
Apply for Campus Mantri
13 points
Contributor
13 points
Contributor
1 Point
Proficient
Proficient
100 Point
Scholar
Scholar
1k Point
Master
Master
10k Point
Ace
Ace
50k Point
Find Your Place Among the Best
Explore Our Badge Program and Start Writing.
Start writing
How Badges Work
20 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
August
SCHOOL (0)
BASIC (27)
EASY (121)
MEDIUM (170)
HARD (28)
Reverse alternate nodes in Link List
Rotate a Linked List
Sort a linked list of 0s, 1s and 2s
Add Number Linked Lists
Merge 2 sorted linked list in reverse order
Detect Loop in linked list
Quick Sort on Linked List
Merge Sort
Quick Sort
Bottom View of Binary Tree
Delete without head pointer
Intersection in Y Shaped Lists
Merge two sorted linked lists
Flattening a Linked List
Tree Boundary Traversal
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Get Min from Stack
Remove loop in Linked List
Palindrome Linked List
Print matrix in diagonal pattern
BST with Dead End
Find triplets with zero sum
Sort a stack
Duplicate Subtree
Top View of Binary Tree
Find Common Nodes in two BSTs
Peak element
Merge Sort for Linked List
Union of Two Linked Lists
Euler circuit and Path
Binary Tree to CDLL
Root to Leaf Paths
K Sum Paths
Isomorphic Trees
Maximum path sum from any node
Children Sum in a Binary Tree
Deletion and Reverse in Circular Linked List
Normal BST to Balanced BST
Kth Ancestor in a Tree
Smallest Positive Missing
Wave Array
Rearrange Array Alternately
Stock buy and sell
Rotate Array
Kadane's Algorithm
Majority Element
Count Inversions
Indexes of Subarray Sum
Triplet Sum in Array
Merge Without Extra Space
Level of Nodes
Boolean Matrix
Spirally traversing a matrix
Search in a sorted Matrix
Rotate by 90 degree
Determinant of a Matrix
Subarray with 0 sum
Longest Consecutive Subsequence
Strings Rotations of Each Other
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Minimum Platforms
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
0 - 1 Knapsack Problem
Allocate Minimum Pages
Zero Sum Subarrays
Kth Smallest
Shortest Common Supersequence
Container With Most Water
Print Anagrams Together
Rotate by 90 degree
Top K Frequent in Array
4 Sum - All Quadruples
Sort 0s, 1s and 2s
Pascal Triangle
Number of subarrays with maximum values in given range
Top k numbers in a stream
Maximize Number of 1's
Consecutive 1's not allowed
Count Occurences of Anagrams
Pythagorean Triplet
Painting the Fence
Search in Rotated Sorted Array
Max Score from Subarray Mins
Subarray Sum Divisible By K
Maximum Product Subarray
Longest subarray with sum divisible by K
Check if a string is repetition of its substring of k-length
Row with max 1s
Column name from a given column number
Substrings with K Distinct
Longest Subarray with Sum K
Count the Reversals
Max Sum without Adjacents
Factorials of large numbers
Shuffle integers
k largest elements
Sum of XOR of all pairs
Longest substring with distinct characters
Longest Substring with K Uniques
Valid Expression
Triplets with Smaller Sum
Largest Sum Subarray of Size at least K
First negative in every window of size k
Minimize the Heights II
Transform to prime
First and Last Occurrences
Minimum Deletions
Valid Substring
Number following a pattern
Bleak Numbers
Game of XOR
Modified Game of Nim
Max Sum Increasing Subsequence
Coin Change (Count Ways)
Sequence of Sequence
Gold Mine Problem
Knapsack with Duplicate Items
Partition Equal Subset Sum
Count possible ways to construct buildings
Array Pair Sum Divisibility Problem
Number of paths
Smith Number
Smaller on Left
How Many X's?
Segregate even and odd nodes in a Linked List
Largest square formed in a matrix
Kth Largest in a Stream
Transitive closure of a Graph
Flood fill Algorithm
Techfest and the Queue
Reverse Spiral Form of Matrix
Triplets in Sorted Linked List
Help Classmates
Subset Sum Problem
Subarrays with sum K
Remove K Digits
Count pairs in array divisible by K
Number of Provinces
Find duplicate rows in a binary matrix
Paths from root with a specified sum
Sort for Singly Linked List
Minimize the Heights I
Anti Diagonal Traversal of Matrix
Unique Number III
All Unique Permutations of an array
Course Schedule
Reverse a Stack
Maximum Meetings in One Room
Buy Maximum Stocks
Smallest sum contiguous subarray
Stack Permutations
Expression contains redundant bracket or not
Sort a k sorted doubly linked list
Number Of Enclaves
Eventual Safe States
Maximum Consecutive Ones
Aggressive Cows
Maximum Sum Combination
Floor in BST
Maximum Value
Next Greater Element in Circular Array
Water the plants
New Year Resolution
Grinding Geek
Reverse a linked list
Delete N nodes after M nodes of a linked list
Pairwise swap elements of a linked list
Node at a given index in linked list
Linked list of strings forms a palindrome
Compare two linked lists
Delete nodes having greater value on right
Remove duplicates from an unsorted linked list
Split a Linked List into two halves
Reverse a Doubly Linked List
Bubble Sort
Height of Binary Tree
Balanced Tree Check
Kth from End of Linked List
Middle of a Linked List
Check If Circular Linked List
Intersection Sorted Linked Lists
Find Transition Point
Remove Duplicates from a Sorted Linked List
Reverse Level Order Traversal
Stack using Linked List
Implement stack using array
Identical Trees
Binary Search
Remove Duplicates Sorted Array
Remove every k'th node
Convert to Roman No
Multiply two linked lists
Kth largest element in BST
Minimum distance in an Array
Array Duplicates
Three way partitioning
Index of an Extra Element
Intersection of Two Linked Lists
Insert in a Sorted List
More than n/k Occurrences
Reverse Using Stack
Symmetric Tree
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Find n/k th node in Linked list
Queue Reversal
Reverse first K of a Queue
Brothers From Different Roots
Move all zeros to the front of the linked list
Delete Mid of a Stack
Predict the Column
First Set Bit
Rightmost different bit
Check K-th Bit
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Matrix Boundary Traversal
Anagram
Winner of an election
String Rotated by 2 Places
Isomorphic Strings
Reverse Words
Non Repeating Character
Parenthesis Checker
Union of Arrays with Duplicates
Check Equal Arrays
Missing in Array
Product array puzzle
Roman Number to Integer
Intersection of Arrays with Distinct
Missing And Repeating
Common in 3 Sorted Arrays
Sorted and Rotated Minimum
Maximum no of 1's row
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Manipulation
Chocolate Distribution Problem
Count the triplets
Find Pair Given Difference
Bitonic Point
Left most and right most index
Smallest subarray with sum greater than x
Closing bracket index
Remove Consecutive Characters
Remove Duplicates
Second Largest
Rotate Bits
Find all pairs with a given sum
Number of occurrence
Does array represent Heap
String's Count
Longest Common Prefix of Strings
Min Manipulations to make Strings Anagram
Find the closest pair from two arrays
Length of longest subarray
Four Elements
Palindrome String
Search array with adjacent diff at most k
Pair with given sum in a sorted array
Count number of words
Minimum Operations
Adding Array Elements
Number of 1 Bits
Max Sum Subarray of size K
Prime Number
Shortest path from 1 to n
Sum 1 to n Divisors
Reach the Nth point
Form a number divisible by 3 using array digits
Inorder Traversal and BST
Letters Collection
Print Pattern
Sum of dependencies in a graph
Print Diagonally
Smallest window containing 0, 1 and 2
Move Last Element to Front of a Linked List
Insert an Element at the Bottom of a Stack
Minimize the sum
Find the first node of loop in linked list
Reverse both parts
Print Linked List
Find Length of Linked List
Preorder Traversal
Search a node in BST
Multiply Matrices
Linked List Insertion At End
Minimum element in BST
Is Linked List Length Even?
Identical Linked Lists
Modular Node
Insert in Middle of Linked List
Array Search
Sorted Array Search
Reverse a String
Print Linked List
Search In Linked List
Length of Last word
Rotate Array by One
Array Subset
Print first letter of every word in the string
Set kth bit
Median of an Array
Count Squares
Addition of two square matrices
Sorted matrix
Max Min
Doubly Linked List Traversal
Linked List Group Reverse
Reorder List
Clone List with Next and Random
Max rectangle
AVL Tree Insertion
Nodes at given distance in binary tree
Trapping Rain Water
Histogram Max Rectangular Area
Median of 2 Sorted Arrays of Different Sizes
The Painter's Partition Problem-II
Search Pattern
Number of distinct subsequences
Wildcard string matching
Sum-string
Palindromic Partitioning
Median in a row-wise sorted Matrix
Longest valid Parentheses
Distribute candies in a binary tree
IPL 2021 - Final
Split Array Largest Sum
Find the String
Stock Buy and Sell – Max 2 Transactions Allowed
Largest rectangular sub-matrix whose sum is 0
Vertex Cover
Count Reverse Pairs
Candy
Better String
Making A Large Island
close
S
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !