Category Archives: Problem Solution

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:

 

How to take limited constraint 1<=A[i]<=10^9 Array in C/C++ code for OJs

code:

Source:
https://www.facebook.com/groups/bengaliprogramming/permalink/717276125110930/

How to take limited constraint 1

code:

Source:
https://www.facebook.com/groups/bengaliprogramming/permalink/717276125110930/

Prime or Not

Another easy understandable tut is in this link: http://zakilive.com/2017/05/12/check-the-number-is-prime-or-not-in-c-easy-and-details-explanation/
Code:

 

Monk and Welcome Problem

Another Problem:

 

URI Online Judge | 1030 Flavious Josephus Legend

This is level 3 problem so will do it later. But this video will help for  sure.

 

A good Array Example

Hackerrank problem:

 

A good example of pointer code at Hacker Rank

A good example of pointer code at Hacker Rank:

 

URI Online Judge Solution | 1049 Animal

strcmp in c/c++ issues is the hard part nothing else…Just try to learn this 🙂
Logical condition based problem it was.

 

 

URI Online Judge Solution | 1048 Salary Increase

My failed code:
http://ideone.com/4o96LX

My succeeded accepted code:

 

Triangular Number Java Code True or False

Here yo can see what is triangular number:

https://en.wikipedia.org/wiki/Triangular_number