Define a class that will represent each of the following - Question 1

Posted by Naimishforu under Interview Questions on 2/10/2011 | Points: 10 | Views : 1445 | Status : [Member] [MVP] | Replies : 2
Hi,

Recently I had been interviewed internationally!!!!! It would be very much helpful if you can also try to solve this "things".

Please first examine the below image:

http://www.uploadforever.net/download.php?img=575

Figure 1 shows a set of nodes that are labeled from A to J. The position of each node can be defined by the x, y coordinate system. The dotted segments joining the nodes A, B, E, F, I and J, shows a possible path from A to J through the nodes B, E, F and I.

1. Define a class that will represent each of the following:

i. a node
ii. a segment, which consists of two nodes
iii. a path, which consists of at least three segments

If anyone can answer this please:

Thanks

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/



Responses

Posted by: Sutotpal on: 2/11/2011 [Member] Starter | Points: 25

Up
0
Down
hi,,

There was not showing image on that link....

Best Regards,
Sutotpal

Naimishforu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/14/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

Image Updated.

Thanks :)

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Naimishforu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response