Home

Awesome

HackerRank Mathematics

problems-solved problems-solved-java problems-solved-python problems-solved-cpp PRs Welcome cp profile

Problems

Fundamentals problems-solved

NameDifficultySolution
Find The PointEasyJava cpp
Maximum DrawsEasyJava cpp
HandshakeEasyJava cpp
Minimum Height TriangleEasyJava cpp
Army GameEasyJava cpp
Leonardo's Prime FactorsEasyJava
Connecting TownsEasyJava cpp
Cutting Paper SquaresEasyJava
Sherlock and Moving TilesEasyJava
Best DivisorEasyJava cpp
RestaurantEasyJava cpp
Reverse GameEasyJava cpp
Strange Grid AgainEasyJava
Sherlock and DivisorEasyJava
Halloween PartyEasyJava cpp
Filling JarsEasyJava cpp
Sumar and The Floating RocksEasyJava
Russian Peasant ExponentEasy
Most DistantEasyJava cpp
Possible PathEasyJava cpp
Jim and The JokesMedium
Bus StationMediumcpp
Is FiboMediumcpp
K Candy ScoreMedium
Diwali LightsMediumcpp
Mutual RecurrencesMediumcpp
Summing The N SeriesMedium
Special MultipleMediumcpp
Die Hard 3Medium
Even Odd QueryHardcpp
Sherlock and PermutationHard
Matrix TracingHardcpp

Number Theory problems-solved

NameDifficultySolution
Constructing a NumberEasy
Sherlock and GCDEasy
Primitive ProblemEasy
Identify Smith NumbersEasy
Euler's CriterionEasy
Fibonacci Finding (Easy)Easy
Cheese and Random ToppingsEasy
John and GCD ListEasy
Closest NumberMedium
TwinsMedium
The Chosen OneMedium
Power of Large NumbersMedium
Salary BluesMedium
Number of Zero-xor subsetsMedium
Breaking SticksMedium
Easy GCDMedium
Manasa Loves MathsMedium
Easy MathsMedium
EquationsMedium
Binomial CoefficientsMedium
Lucy and FlowersMedium
Divisibility of PowerMedium
A Weird FunctionMedium
Coprime ConundrumMedium
Megaprime NumbersMedium
AntsMedium
Ichigo and CubesMedium
Prime SumMedium
Hyperrectangle GCDMedium
Ichigo and RoomsMedium
Ajob SequenceMedium
Eugene and Big NumberMedium
Matrix TreeMedium
Nice CliqueMedium
Down The Rabbit HoleMedium
Little Panda PowerHard
Mehta and His LazinessHard
Minimal Distance to PiHard
Help MikeHard
Dancing in PairsHard
Akhil and GFHard
Little Ashish's Huge DonationHard
Manasa and FactorialsHard
Satisfactory PairHard
Largest Non Co-Prime SubMatrixHard
Divisor Exploration IIHard
Strange NumbersHard
Divisor Exploration 3Hard
Superpowers of 2Hard
Sherlock PuzzleHard
Devu Vs PoliceHard
Long PermutationHard
Divisor ExplorationHard
Scalar ProductsHard
Number of M-Coprime ArraysHard
nCrExpert
Chandrima and XORHard
Find The OperationsHard
Fibonacci GCDHard
A Very Special MultipleHard
Fibonacci LCMHard
Unfriendly NumbersHard
HackerRank NumberExpert
GCD ProductHard
The Bouncing Flying BallHard
PeriodHard
Order of Prime FactorialHard
Degree of an Algebraic NumberAdvanced
Computer VirusAdvanced
GCD SequenceHard
Coprime Power SumAdvanced
Fun With 1010Expert
GCD MocktailAdvanced
Laser BeamExpert
Minion of The YearExpert
Bear and CryptographyAdvanced

Combinatorics problems-solved

NameDifficultySolution
A Chocolate FiestaEasy
Picking CardsEasy
nCr TableMedium
CoinageMedium
Building a ListMedium
Merge ListMedium
Choose and CalculateMedium
Sherlock and PairsMedium
Consecutive SubsequencesMedium
Anti-Palindromic StringsMedium
Lexicographic PathsMedium
Number ListMedium
Journey To MarsMedium
Super Humble MatrixMedium
Volleyball MatchMedium
Cyclic QuadruplesMedium
Longest Increasing Subsequence ArraysMedium
Digit ProductsMedium
Tower 3-coloringMedium
Count Fox SequencesMedium
Manasa and CombinatoricsMedium
Coloring GridMedium
Div and SpanMedium
Ichigo and RevengeMedium
Binomial Coefficients RevengeMedium
Circles MathMedium
Costly GraphsMedium
Bridges and HarborsMedium
Mehta and the Typical SupermarketHard
Game of Thrones - IIHard
Permutation ProblemHard
TowersHard
Introduction to Representation TheoryHard
Tile Painting: Revisited!Hard
Beautiful SetsHard
Alien FlowersHard
Grid LinesHard
Highway ConstructionHard
Value of all PermutationsHard
FarmerAdvanced
Irresponsible NumbersHard
Academy SurveillanceAdvanced
Parity PartyExpert
String ModificationExpert
To Heap or Not to HeapAdvanced
Sasha and SwapsHard
k-Balance NumberHard
PowercodeHard
Insane DFSExpert
How Many Trees?Advanced
Strongly Connected DigraphsHard
Robanukkah TreeHard
TeleportersExpert
Count PalindromesHard
Cycle RepresentationExpert
To Infinity and BeyondExpert
Byteland ItineraryAdvanced

Algebra problems-solved

NameDifficultySolution
Combo MealsEasy
Difference and ProductEasy
Pythagorean TripletEasycpp
Number GroupsEasy
Wet Shark and 42Easy
Simple OneEasy
Stepping Stones GameMedium
Shashank and ListMedium
Triangle NumbersMedium
Little Gaurav and SequencesMedium
Tell the AverageMedium
Game of RotationMedium
Hackonacci Matrix RotationsMedium
Birthday TripletsMedium
Manasa and SubsequencesMedium
Count SolutionsMedium
Manasa and CalculationsMedium
The Simplest SumMedium
Manasa and PizzaMedium
Permutation EquationsMedium
Introduction To AlgebraMedium
Cross MatrixMedium
Easy SumHard
Pairwise Sum and DivideHard
Power CalculationAdvanced
Sherlock and SquareHard
Sherlock and QueriesAdvanced
Summing the K-N SeriesHard
XOR LoveHard
Circle SummationAdvanced
Girlfriend and NecklaceHard
Signal TowerAdvanced
Summing the K-N-R SeriesAdvanced
The Axis of AwesomeExpert
Emma and Sum of ProductsHard
Fun with SeriesAdvanced
Counting EquationsExpert
Calculate ItExpert
Rational SumsExpert
Introduction To Algebra 2Advanced
The Black BoxAdvanced
Black HoleHard
Minimum Cyclic ShiftExpert

Geometry problems-solved

NameDifficultySolution
Points On A LineEasycpp
Rectangular GameEasy
Sherlock and CountingEasy
Sherlock and PlanesEasy
Xrange's PancakesEasy
Points on a RectangleEasy
Circle CityMedium
SpheresMedium
Baby Step, Giant StepMedium
A Circle and SquareMedium
Hyperspace TravelMedium
Solve EquationsMedium
StarsMedium
Polar AngelsMedium
Jim and The ChallengeMedium
Jim BeamHard
Sherlock and GeometryAdvanced
Good PointHard
Hard HomeworkExpert
PolygonsHard
PolygonHard
Meeting PointHard
House LocationHard
The Letter NAdvanced
Best SumAdvanced
Geometry QueriesAdvanced
Count TrianglesAdvanced
Isosceles TriangleHard
Elastic RopeExpert
Painting FiguresExpert

Probability problems-solved

NameDifficultySolution
Random Number GeneratorEasypy
B'Day GiftEasycpp
Day 4: Normal Distribution #1Medium
Day 4: Normal Distribution #2Medium
Vertical SticksMediumcpp
Extremely Dangerous VirusMedium
The Matchstick ExperimentMedium
PalindromesMedium
Lazy SortingMedium
Binomial Distribution #1Medium
Kevin and Expected ValuesMedium
The White Lotus and Caterpillar GameMedium
Dice StatsMedium
Magic Number TreeMedium
Colorful PolygonMedium
Sherlock and ProbabilityHard
Normal Distribution #3Hard
Binomial Distribution #2Hard
Binomial Distribution #3Hard
Assignment ProblemExpert
Connect The CountryHard
Random Integers Random BitsHard
Random Number GeneratorHard
Zombie March***Hard
Bear and DancingHard
RandomnessAdvanced
RandomHard
Mathematical ExpectationHard

Linear Algebra Foundations problems-solved

NameDifficultySolution
Linear Algebra Foundations #1 - Matrix AdditionEasy
Linear Algebra Foundations #2 - Matrix SubtractionEasy
Linear Algebra Foundations #3 - Matrix MultiplicationEasy
Linear Algebra Foundations #4 - Matrix MultiplicationEasy
Linear Algebra Foundations #5 - The 100th Power of a MatrixMedium
Linear Algebra Foundations #6 - An Equation Involving MatricesMedium
Linear Algebra Foundations #10 - EigenvectorsMedium
Determinant of the Matrix #1Medium
Determinant of the Matrix #3Medium
Linear Algebra Foundations #7 - The 1000th Power of a MatrixHard
Linear Algebra Foundations #8 - Systems of EquationsHard
Linear Algebra Foundations #9 - EigenvaluesHard
Determinant of the Matrix #2Hard
Eigenvalue of Matrix IHard
Eigenvalue of Matrix #2Hard
Eigenvalue of Matrix #3Hard
Eigenvalue of Matrix #4Hard