Skip to content

Latest commit

 

History

History
126 lines (125 loc) · 23.1 KB

README.md

File metadata and controls

126 lines (125 loc) · 23.1 KB

Competitive-Programming

Includes my solutions to some computer science problems from CodeForces and Hackerrank.

S.No. Problem Name Solution Link
1 (1-A) Theatre-Square.cpp solution
2 (4-A) Watermelon.cpp solution
3 (4-C) Registration-System.cpp solution
4 (25-A) IQ-Test.cpp solution
5 (41-A) Translation.cpp solution
6 (50-A) Domino-Piling.cpp solution
7 (58-A) Chat-Room.cpp solution
8 (59-A) Word.cpp solution
9 (61-A)Ultra-Fast-Mathematician.cpp solution
10 (69-A) Young-Physicist.cpp solution
11 (71-A) Way-Too-Long-Words.cpp solution
12 (96-A) Football.cpp solution
13 (110-A) Nearly-Lucky-Number.cpp solution
14 (112-A) Petya-and-Strings.cpp solution
15 (116-A) Tram.cpp solution
16 (118-A) String-Task.cpp solution
17 (122-A) Lucky-Division.cpp solution
18 (131-A) cAPS-lOCK.cpp solution
19 (148-A) Insomnia-cure.cpp solution
20 (151-A) Soft-Drinking.cpp solution
21 (133-A) HQ9+.cpp solution
22 (136-A) Presents.cpp solution
23 (137-B) Permutation.cpp solution
24 (141-A) Amusing-Joke.cpp solution
25 (144-A) Arrival-of-the-General solution
26 (155-A) I-love-%username%.cpp solution
27 (158-A) Next-Round.cpp solution
28 (158-B) Taxi.cpp solution
29 (160-A) Twins.cpp solution
30 (189-A) Cut-Ribbon.cpp solution
31 (200-B) Drinks.cpp solution
32 (208-A) Dubstep.cpp solution
33 (231-A) Team.cpp solution
34 (236-A) Boy-or-Girl.cpp solution
35 (259-A) Little-Elephant-and-Chess.cpp solution
36 (263-A) Beautiful-Matrix.cpp solution
37 (266-A) Stones-on-the-Table.cpp solution
38 (266-B) Queue-at-the-School.cpp solution
39 (271-A) Beautiful-Year.cpp solution
40 (276-A) Lunch-Rush.cpp solution
41 (281-A) Word-Capitalization.cpp solution
42 (282-A) Bit++.cpp solution
43 (313-A) Ilya-and-Bank-Account.cpp solution
44 (318-A) Even-Odds.cpp solution
45 (320-A) Magic-Numbers.cpp solution
46 (327-A) Flipping-Game.cpp solution
47 (337-A) Puzzles.cpp solution
48 (339-A) Helpful-Maths.cpp solution
49 (339-B) Xenia-and-Ringroad.cpp solution
50 (344-A) Magnets.cpp solution
51 (384-A) Coder.cpp solution
52 401-A) Vanya-and-Cards.cpp solution
53 (405-A) Gravity-Flip.cpp solution
54 (451-A) Game-With-Sticks.cpp solution
55 (460-A) Vasya-and-Socks.cpp solution
56 (467-A) George-and-Accommodation.cpp solution
57 (467-B) Fedor-and-New-Game.cpp solution
58 (469-A) I-Wanna-Be-the-Guy.cpp solution
59 (472-A) Design-Tutorial-Learn-from-Math.cpp solution
60 (479-A) Expression.cpp solution
61 (486-A) Calculating-Function.cpp solution
62 (520-A) Pangram.cpp solution
63 (546-A)Soldier-and-Bananas.cpp solution
64 (580-A) Kefa-and-First-Steps.cpp solution
65 (705-A) Hulk.cpp solution
66 (710-A) King-Moves.cpp solution
67 (710-B) Optimal-Point-on-a-Line.cpp solution
68 (780-B) Andryusha-and-Socks.cpp solution
69 (784-A) Numbers-Joke.cpp solution
70 (884-A) Book-Reading.cpp solution
71 (884-B) Japanese-Crosswords-Strike-Back.cpp solution
72 (893-A) Chess-For-Three.cpp solution
73 (893-B) Beautiful-Divisors.cpp solution
74 (894-A) QAQ.cpp solution
75 (922-A) Cloning-Toys.cpp solution
76 (922-B) Magic-Forest.cpp solution
77 (938-A) Word-Correction.cpp solution
78 (938-B) Run-For-Your-Prize.cpp solution
79 (939-A) Love-Triangle.cpp solution
80 (939-B) Hamster-Farm.cpp solution
81 (898-A) Rounding.cpp solution
82 (898-B) Proper-Nutrition.cpp solution
83 (900-A) Find-Extra-One.cpp solution
84 (900-B) Position-in-Fraction.cpp solution
85 (903-A) Hungry-Student-Problem.cpp solution
86 (903-B) The-Modcrab.cpp solution
87 (903-C) Boxes-Packing.cpp solution
88 (908-A) New-Year-and-Counting Cards.cpp solution
89 (908-B) New-Year-and-Buggy-Bot.cpp solution
90 (908-C) New-Year-and-Curling.cpp solution
91 (911-A)Nearest Minimums.cpp solution
92 (913-A)Modular Exponentiation.cpp solution
93 (915-B)Browser.cpp solution
94 (915-C)Permute Digits.cpp solution
95 (916-A)Jamie and Alarm Snooze.cpp solution
96 (918-A)Eleven.cpp solution
97 (918-B)Radio Station.cpp solution
98 (919-A)Supermarket.cpp solution
99 (919-B)Perfect Number.cpp solution
100 (919-C)Seat Arrangements.cpp solution
101 (920-A)Water The Garden.cpp solution
102 (920-B)Tea Queue.cpp solution
103 (920-C)Swap Adjacent Elements.cpp solution

The first 30 questions listed on this table are the questions that came up on LeetCode April Challenge 2020.

Days Problem Name Solution Link
Day 1 Single-Numbers.py solution
Day 2 Happy-Number.py solution
Day 3 Maximum-Subarray.py solution
Day 4 Move-Zeroes.py solution
Day 5 Best-Time-to-Buy-and-Sell-Stock-II.py solution
Day 6 Group-Anagrams.py solution
Day 7 Counting-Elements.py solution
Day 8 Middle-of-the-Linked-List.py solution
Day 9 Backspace-String-Compare.py solution
Day 10 Min-Stack.py solution
Day 11 Diameter-of-Binary-Tree.py solution
Day 12 Last-Stone-Weight.py solution
Day 13 Contiguous-Array.py solution