Category: graph
In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is secretly the town judge. If the town …
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 …
The Scatter Plot is often used to show vivid relations between two variables. Plotting is made very simple and easy in Python using numpy and matplotlib.pylab package. To demonstrate, …
In , an equation drawn is shaped to heart. The following is another equation: , corresponding to the following graph. Happy Valentine’s Day! You could also draw a heart …
This problem is from codeforces: http://www.codeforces.com/problemset/problem/263/D This is a graph-related problem but it took me days to get it right. First i made a mistake in using Python language, see …