Compute the Combination Let P = C(N,0) - C(N,1) + C(N,2) - C(N,3) + ... + C(N,N); where C(n,r) is "n choose r". You are give... |

Equation Equals Hazards You are given the equation, GCD(A,M)=1. You have to determine whether there exists at least one inte... |

Mr. Ant and His Problem Mr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he c... |

Playing With Your Mind Given a non-negative integers N. You have to find an integer P such that, the following conditions s... |

Recursive World! See following the two recursive functions: C(0) = 0 C(1) = 5 C(K) = C(K-1) + 4 F(0) = 1 F(1) = 2 F(N... |

The Universe Loves Minimum Steps! Given an array A of N integers. Your task is to make all the integers 0 by performing the following ... |

Two Friends CodeMask and CodeNewtons are two friends. Today they are playing an interesting game. The game invol... |

Toph uses cookies. By continuing you agree to our Cookie Policy.