Homepage
Open in app
Sign in
Get started
Competitive Programming Problems
Learn to think how to tackle CP-Problem !!
Follow
Next Permutation
Next Permutation
A permutation of an array of integers is an arrangement of its members into a sequence or linear order.
Prem Parmar
Jul 23, 2022
Pascal’s Triangle
Pascal’s Triangle
Given an integer numRows, return the first numRows of Pascal's triangle.
Prem Parmar
Jul 22, 2022
Set Matrix Zeroes
Set Matrix Zeroes
Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0's.
Prem Parmar
Jul 22, 2022
Repetitions
Repetitions
You are given a DNA sequence: a string consisting of characters A, C, G, and T. Your task is to find the longest repetition in the…
Prem Parmar
Jul 6, 2022
Missing Number
Missing Number
You are given all numbers between 1,2,…,n1,2,…,n except one. Your task is to find the missing number.
Prem Parmar
Jul 6, 2022
About Competitive Programming Problems
Latest Stories
Archive
About Medium
Terms
Privacy
Teams