This repository contains my solutions to various competitive programming problems from platforms like Codeforces, Codechef, VJudge, etc. All solutions are written in C++.
Problem | Question |
---|---|
A. Merging Arrays | Link to the question |
B. Number of Smaller | Link to the question |
C. Number of Equal | Link to the question |
A. Forgotten Episode | Link to the question |
A. Wet Shark and Odd and Even | Link to the que stion |
A. Era | Link to the question |
A. Ebony and Ivory | Link to the question |
C. Traffic Light | Link to the question |
C. Word Game | Link to the question |
A. Segment with Small Sum | Link to the question |
C. Number of Segments with Small Sum | Link to the question |
F. Segments with Small Spread | Link to the question |
C. Most Similar Words | Link to the question |
A. Spell Check | Link to the question |
A. Plus or Minus | Link to the question |
C. Move Brackets | Link to the question |
B. Colourblindness | Link to the question |
B. Chemistry | Link to the question |
B. All Distinct | Link to the question |
B. Kalindrome Array | Link to the question |
B. Array Cloning Technique | Link to the question |
C. Cypher | Link to the question |
A. Is It a Cat? | Link to the question |
C - X-Sum | Link to the question |
R - Remove Prefix | Link to the question |
D. Line | Link to the question |
B. Long Long | Link to the question |
C. Train and Queries | Link to the question |
D. Double Strings | Link to the question |
C. Sum in Binary Tree | Link to the question |
A. Mainak and Array | Link to the question |
D. Three Activities | Link to the question |
A. Compare T-Shirt Sizes | Link to the question |
C1. Powering the Hero (easy version) | Link to the question |
C2. Powering the Hero (hard version) | Link to the question |
B. Rock and Lever | Link to the question |
B. Fedor and New Game | Link to the question |
C. Premutation | Link to the question |
C. Ski Resort | Link to the question |
A. Binary Search | Link to the question |
B. Closest to the Left | Link to the question |
C. Closest to the Right | Link to the question |
C. Jumping on Tiles | Link to the question |
Problem | Solution |
---|---|
Alt-Tab | Link to the question |
OR Permutation | Link to the question |
Minimum XOR | Link to the question |
NASA | Link to the question |
Dull Operation | Link to the question |
Problem | Solution |
---|---|
A - Counting | Link to the solution |
A - Buttons | Link to the solution |
A - Four Digits | Link to the solution |
B - Not Found | Link to the solution |
A - Find Multiple | Link to the solution |
B - How many? | Link to the solution |
A - Biscuit Generator | Link to the solution |
C - Multiple Gift | Link to the solution |
B - Remove It | Link to the solution |
B - Minor Change | Link to the solution |
B - Sum of Three Integers | Link to the solution |
Problem | Question |
---|---|
Max Sum Subarray of size K | Link to the Question |
Count Occurences of Anagrams | Link to the Solution |