Ask your own question, for FREE!
Mathematics 14 Online
OpenStudy (zzr0ck3r):

Coding in python. What does \(x\leftrightarrow y\) mean in coding talk?

OpenStudy (amistre64):

is it arrows? or is it the less than greater than? x <> y mean 'not equal to' in some languages

OpenStudy (zzr0ck3r):

arrows.

OpenStudy (amistre64):

is there more code surrounding it? can you post a picture of it?

OpenStudy (zzr0ck3r):

It is code for a sorting algorithm on the vertices of a graph. The find function and union functions connect everything in some component to a single vertex, and the book has the following code, but I am starting to thing it is pseudo code.

OpenStudy (zzr0ck3r):

In terms of what it is doing, it is "attaching vertices" but I am asking if this is some pointer built into the language.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!