Computer Science, asked by hari1krish, 10 months ago

Given N nodes numbered from 1 to N. Find the shortest distance from A to B. There is an undirected edge of cost 1 between nodes i and j, if the number of bits set in (i xor j) is 2. If we cannot reach from A to B report -1.in python

Answers

Answered by Anonymous
0

Answer:

Use matplotlib. pyplot. xlabel() and matplotlib. pyplot. ylabel() to add axis labels to a plot

plot(range(5))

xlabel("X axis label")

ylabel("Y axis label")

Similar questions