You are not logged in. Please login at www.codechef.com to post your questions!

×

representation of example map in the problem to a graph representation using adjacency list

Hi guys,

I have a lesser understanding of converting matrix representation(Like in this one where city map was given in the form of a matrix) to Adjacency list representation, Anyone, please help me with that. It can help me with the build-up for a few more graph problems.how to represent the given Matrix-City map in the problem for further coding ?

asked 25 Jul '16, 00:56

abhiroj786's gravatar image

2★abhiroj786
8111
accept rate: 22%

converted to question 25 Jul '16, 01:37

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,236
×513

question asked: 25 Jul '16, 00:56

question was seen: 1,455 times

last updated: 25 Jul '16, 01:37