I am new to java. I am trying to write a code for a 2D 8*8 network, which is shown above. Each circle represents a node.
Each node is connected to atleast 2, 3, 4 nodes. I tried using arrays, but couldn't figure out how. Please help me out.!!