<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[The objective of this assignment is]]></title><description><![CDATA[<p dir="auto">o	Binary Search trees<br />
o	AVL trees<br />
o	Rotation cases of AVL trees<br />
o	Balancing Factor of trees</p>
]]></description><link>https://community.secnto.com//topic/2156/the-objective-of-this-assignment-is</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 19:59:35 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/2156.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Jan 2021 07:08:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to The objective of this assignment is on Mon, 18 Jan 2021 07:33:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zareen" aria-label="Profile: zareen">@<bdi>zareen</bdi></a> said in <a href="/post/6385">The objective of this assignment is</a>:</p>
<blockquote>
<p dir="auto">o	Binary Search trees</p>
</blockquote>
<p dir="auto">Binary Search Tree (BST) –<br />
BST is a special type of binary tree in which left child of a node has value less than the parent and right child has value greater than parent. Consider the left skewed BST shown in Figure 2.<br />
<img src="https://i.imgur.com/SF9VGHV.png" alt="38f0c7fc-691d-4731-811e-528ccf01a075-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Searching: For searching element 1, we have to traverse all elements (in order 3, 2, 1). Therefore, searching in binary search tree has worst case complexity of O(n). In general, time complexity is O(h) where h is height of BST.</p>
<p dir="auto">Insertion: For inserting element 0, it must be inserted as left child of 1. Therefore, we need to traverse all elements (in order 3, 2, 1) to insert 0 which has worst case complexity of O(n). In general, time complexity is O(h).</p>
<p dir="auto">Deletion: For deletion of element 1, we have to traverse all elements to find 1 (in order 3, 2, 1). Therefore, deletion in binary tree has worst case complexity of O(n). In general, time complexity is O(h).</p>
]]></description><link>https://community.secnto.com//post/6386</link><guid isPermaLink="true">https://community.secnto.com//post/6386</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Mon, 18 Jan 2021 07:33:50 GMT</pubDate></item></channel></rss>