Tag: math
Algorithm complexity can be represented by Big O notation, for example, the following piece of code has complexity that sums up the array. s = 0 arr = for …
The polygons can be regular or irregular. For example, The following idea is the easiest way to compute its area (signed) for any given simple 2-D polygons, even for …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/237/A If there are two or more people coming to buy at the same time, and there is no enough cashers, just simply increase …
October 22, 2012
algorithms, brute force, code, code library, implementation, interview questions, math, programming languages, python, recursive, tricks
Q: List and compare the methods to compute where a, b, n are positive integers. A: We have four methods. The first one is to naively compute the value …
The definition of Recursion can be simply found . Comment below if you understand the joke 🙂 –EOF (The Ultimate Computing & Technology Blog) — 47 words The Permanent …