On Tue, 22 Apr 2008 07:35:54 -0700, mark <ma**********@gmail.comwrote:
I have a 5x5 Matrix. Each cell consists a string value(ex:URL of a
website)
I want to find out which string value occurs( i.e. repeats ) maximum
no. of times in the matrix.
I have a hint that BINARY SEARCH TREE will be used here and that NODE
class in c# may be used to implement trees. [...]
Honestly, I think your teacher is a better person to ask the question.
Especially since they are not recommending the best-performing solution,
and given that there's no "NODE" class in C# or .NET (though there are
classes that act as nodes).
If what your teacher wants is for you to learn to code a binary tree
(which seems likely, given the problem statement), then for us to
demonstrate that for you would cheat you out of an education.
Pete