Category: python
Given an index k, return the k-th row of the Pascal’s triangle. For example, given k = 3, Return . Could you optimize your algorithm to use only O(k) …
The matlab variables (matrices, arrays) can be stored in *.mat files, in order to read this data in Python, you would need a scipy.io package. import scipy.io And, after …
You have a two dimensional data and want to plot it over the X-Y axes so based on the visualisation, you can spot any potential errors. In Python, with …
This puzzle (click to submit solution to Timus Online Judge) is interesting. It is like a IQ test question at the beginning. Find out the missing number. The puzzle …
The puzzle is from Timus (submit your solution at this URL http://acm.timus.ru/problem.aspx?space=1&num=2033) There are 6 friends, and the input tells you the names of these friends (useless), the phones …