If we want to compute the sum of every column, we can use the following
algorithm
procedure visit(node n, int c) {
if (n.left != null)
S{c} += n.value;
visit(n.left, c - 1)
visit(n.right, c + 1)
}
and call once visit(A, 0), where A is the root node. Note that S{...} in the
SMSLib API
On Sat, Oct 15, 2011 at 10:02 AM, Sehaj Singh Kalra sehaj...@gmail.comwrote:
Does anyone knows any sms api which i can integrate with my own api?
Reply asap.. its urgent...
Sehaj
IIT-Delhi
Computer Science, 2nd sem
--
You received this message because you are subscribed to