## Discussion Forum

Que. | The runtime for traversing all the nodes of a binary search tree with n nodes and printing them in an order is |

a. | O(lg n) |

b. | O(n lg n) |

c. | O(n) |

d. | O(n^2) |

Answer:O(n) |

Que. | The runtime for traversing all the nodes of a binary search tree with n nodes and printing them in an order is |

a. | O(lg n) |

b. | O(n lg n) |

c. | O(n) |

d. | O(n^2) |

Answer:O(n) |

Questions from Previous year GATE question papers

UGC NET Previous year questions and practice sets

UGC NET Previous year questions and practice sets

Attempt a small test to analyze your preparation level. This GATE exam includes questions from previous year GATE papers.

Practice test for UGC NET Computer Science Paper. The questions asked in this NET practice paper are from various previous year papers.