Finding greatest common divisor of a number is a very common mathematics problem and has a lot of implementation in computer science like cryptography, data security and other fields. By
Fibonacci Series: Problem approach, fix Integer overflow and reduce time complexityFibonacci Series: Problem approach, fix Integer overflow and reduce time complexity
If you have ever done programming and went through some problems which need to be solved, you must have known the name of Fibonacci series. In the very first approach
Runtime Error in onlinejudge.org website for Java submissionRuntime Error in onlinejudge.org website for Java submission
I am using OnlineJudge.org website for years now but I used to submit my solutions in C++ and ANSI C. Recently I started submitting code in Python and there was
N Queens Problem – Iterative to recursive derivationN Queens Problem – Iterative to recursive derivation
There is a problem named N Queens which is famous in computer science courses and some programming challenges. Most of the websites who claim to explain the solution are either
Generate Combination SequenceGenerate Combination Sequence
Recently during a “Hiring Hackathon” of a company I went through a problem which required, to get all the combination of an array element. That is if the array length