Category Archives: Problem Solution

Hackerearth – Jarvis and Numbers

code i have understand for last 6 hours:
problem statement was little bit clumsy but understood atlast:

accepted code took help from editorial:

official editorial:

 

Codeforces: A. Next Round

My code: didn’t passed all testcase:

Then looked out the solution but din’t understand one thing but implemented my own:

http://itisadumbblog.blogspot.com/2015/05/codeforces-158a-next-round-solution.html

https://tausiq.wordpress.com/2014/07/13/cf-158a-next-round/

Print Hackerearth

I am implementing the solution after seeing the code:

 

Hackerearth : Digit Problem

code:

 

10579 Fibonacci Numbers

code:

 

Hackerearth Min-Max

code:

partially accepted code with vector:

 

10523 – Very Easy !!!

C++ Code:
But it will not work as c++ don’t support BigIntger so we have to write it in java my code:

Java:

 

 

HAckerearth – HAWKEYE AND FLOODFILL ⇾⚄ (EASY)

code:

another code:

 

 

 

Digit Hackerearth

code:

 

Stevie Hackerearth

code:

 

Basics of Implementation – Hackerearth

Vowel count in a string:
code:

Count Digit:

 

Hackerearth: Seating Arrangement (Unsolved)

code that not accepted:

 

HackerEarth: Prime Number

code:

DCP-4: Great!!! The Work Is Done Solution

code i tried  around 5 of hours but didn’t succeded:

 

after checking one solution in github repo found the logic and impelmented in my own:
code:

uDebug also helped me for critical case:
https://www.udebug.com/DS/4

Hackerearth: Find Product

code: