Skip to content

"Curated collection of algorithmic challenges sourced from online judges to enhance problem-solving skills."

Notifications You must be signed in to change notification settings

Shakil-RU/Algorithm_Based_Problem

Repository files navigation

Name: Abdullah Numan Shakil.
Dept. of Computer Science & Engineering.
University of Rajshahi.

Design and Analysis of Algorithm

STL

NO. Problem's Link Tag Solution
1 Syntax Vector solution
2 A. Sereja and Dima codeforces Vector solution
3 852. Peak Index in a Mountain Array LeetCode Vector solution
4 A. String Task (Codeforces) String solution
5 The Palindrome(HackerEarth) String solution
6 Mini_Sub_String String solution
7 A. Haiku (Codeforces) String solution
8 D. Distinct Split(CodeForces) string solution
9 B. Mirror in the String(Codeforces) string solution
10 A. Integer Diversity(Codeforces) Map solution
11 A. Indian Summer(CodeForces) pair solution
13 A. Rank List(Codeforces) pair solution
14 solution

Greedy Approch

NO. Problem's Link Tag Solution
1 121. Best Time to Buy and Sell Stock LeetCode greedy solution
2 122. Best Time to Buy and Sell Stock II LeetCode greedy solution
3 Movie Festival CSES greedy solution
4 A. Hit the Lottery(CF) Greedy solution
5 C. Frog Jumps (Codeforces) Greedy Solution
6 Greedy Solution

✨Implementation To Geometry All Problems Are Taken From Codeforces.

Implementation

NO. Problem's Link Tag Solution
1 A. Soldier and Bananas (Codeforces) implementation solution
2 A. Soft Drinking (Codeforces) implementation solution
3 A. Rewards (Codeforces) implementation solution
4 A. Patrick and Shopping (Codeforces) implementation solution
5 A. Compote (Codeforces) implementation solution
6 A. Vasya the Hipster (Codeforces) implementation solution
7 E. Mirror Grid (Codeforces) implementation solution

Math

NO. Problem's Link Tag Solution
1 A. Elephant (Codeforces) math solution
2 A. Taymyr is calling you (Codeforces) Math solution
3 B. Anton and Digits (Codeforces) math solution
4 1520B - Ordinary Numbers (Codeforces) math solution
5 B. Equal Candies (Codeforces) math solution
6 B. Who's Opposite? (Codeforces) math solution
7 A. Key races (Codeforces) math solution
8 A. Sasha and Sticks (Codeforces) math solution
9 A. Triangular numbers (Codeforces) math solution
10 A. Median Maximization (Codeforces) math solution

Brute Force

NO. Problem's Link Tag Solution
1 C. Cypher (Codeforces) Brute Force solution
2 B. Fix You (Codeforces) Brute Force solution
3 A. Koxia and Whiteboards (Codeforces) Brute Force solution
4 A. Maximum in Table (Codeforces) Brute Force solution
5 C. Most Similar Words (Codeforces) Brute Force solution
6 B. Perfect Number (Codeforces) Brute Force solution

Number Theory

No Problem's Name Solution
1 A. Design Tutorial: Learn from Math (Codeforces) solution
2 B. GCD Arrays (Codeforces) solution
3 A. Maximum GCD (Codeforces) solution
4 A. EhAb AnD gCd (Codeforces) solution
5 A. LCM Problem (Codeforces) solution
6 A. Gregor and Cryptography (Codeforces) solution
7 A. Digits Sum (Codeforces) solution
8 A. Strange Functions (Codeforces) solution

Constructive Algorithm

No Problem's Name Solution
1 A. Anton and Letters (Codeforces) solution
2 A. Buy a Shovel (Codeforces) solution
3 B. Balanced Array (Codeforces) solution
4 A. Round Down the Price (Codeforces) solution
5 A. Average Height (Codeforces) solution
6 A. Levko and Table (Codeforces) solution

Geometry

No Problem's Name Solution
1 A. Construct a Rectangle (Codeforces) solution
2 A. FashionabLee (Codeforces) solution
3 A. Bad Triangle (Codeforces) solution
4 A. Two Regular Polygons (Codeforces) solution

Factorial

NO. Problem's Name Tag Solution
1 Trailing Zeros(CSES) factorial solution
2 Count digit of a factorial number factorial solution

Graph

NO. Problem's Link Tag Solution
1 D - Number of Shortest paths(Atcoder) BFS solution
2 102. Binary Tree Level Order Traversal(LeetCode) BFS solution
3 104. Maximum Depth of Binary Tree(LeetCode) BFS solution
4 1971. Find if Path Exists in Graph(LeetCode) BFS solution
5 BFS grid BFS solution
6 Solution

Bitmasks

NO. Problem's Link Solution
1 A. And Then There Were K (Codeforces) solution
2 A. XOR Mixup(Codeforces) solution
3 A. Cirno's Perfect Bitmasks Classroom(Codeforces) solution
4 Single Number(InterviewBit) solution

String Processing

NO. Problem's Link Tag Solution
1 B. String LCM(Codeforces) string lcm solution
2 solution

Lab Test-1

NO. Problem's Link Tag Solution
1 B. Reverse String Hashing solution
2 B. Deadly Laser Implementation solution
3 solution

About

"Curated collection of algorithmic challenges sourced from online judges to enhance problem-solving skills."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages