<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Manik Rana on Medium]]></title>
        <description><![CDATA[Stories by Manik Rana on Medium]]></description>
        <link>https://medium.com/@manikrana54?source=rss-7189830cd297------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*psNQjIpPigHnUSILCsD6qQ.jpeg</url>
            <title>Stories by Manik Rana on Medium</title>
            <link>https://medium.com/@manikrana54?source=rss-7189830cd297------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 11:16:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manikrana54/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Binary Search Trees for People In a Hurry]]></title>
            <link>https://medium.com/@manikrana54/binary-search-trees-for-people-in-a-hurry-e410d60451d5?source=rss-7189830cd297------2</link>
            <guid isPermaLink="false">https://medium.com/p/e410d60451d5</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[blog]]></category>
            <dc:creator><![CDATA[Manik Rana]]></dc:creator>
            <pubDate>Mon, 25 Feb 2019 04:41:25 GMT</pubDate>
            <atom:updated>2019-02-25T04:41:25.411Z</atom:updated>
            <content:encoded><![CDATA[<p>Binary Search Trees are a powerful tool that can provide a rapid search of a sorted list and the effective insertion of a linked list. A Binary Search Tree (BST) is an Abstract Data Type that utilizes nodes similar to a linked list. However, unlike a linked list, a BST has each node pointing to the next node in a linear fashion. These linked nodes are a hierarchical way of representing data where each node has two “child” nodes conveniently named a left node and right node. The nodes themselves contain data which determines the position of said data in the BST. Each node is in itself another BST since it is only referenced by one other node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*ozwnwbtmPHovJeKoIaDRYA.png" /></figure><p>All the left subtree elements are less than the parent or root node. Similarly, all the right subtree elements are larger than the parent. This is the Binary Search Tree property and should be satisfied at every node in the tree. This property makes inorder traversal(Left, Root, Right) produce a sorted list.</p><p>As the name suggests, a BST is primarily used for searching. To search for an element in the BST we need to check both the left and right subtrees. When searching for an element, if the left child’s data is less than the element we are looking for, the subtree gets skipped. The same is the case with the right subtree. These features give searching in BST a worst-case runtime complexity of O(n).</p><p>Declaring a binary search tree is very similar to that of a regular binary tree. Here’s one coded in Python:</p><pre>class BSTNode:<br>   def __init__(self, data):<br>      self.data = data      #root node<br>      self.left = None      #left child<br>      self.right = None     #right child<br>   def setData(self, data):w<br>      self.data = data<br>   def getData(self):<br>      return self.data<br>   def getLeft(self):<br>      return self.left<br>   def getRight(self):<br>      return self.right</pre><p>The main operations performed on BSTs are <strong>finding</strong>,<strong> inserting </strong>and <strong>deleting </strong>an element in a BST as well as finding the <strong>minimum </strong>or <strong>maximum </strong>element in a BST. We can perform <strong>Depth-first</strong>, <strong>Breadth-first</strong> search and <strong>Get Height</strong> as well. With an equally sized left and right subtree (or balanced) BST, all the above can run in logarithmic time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e410d60451d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hans Rosling and the power of bubbles]]></title>
            <link>https://medium.com/@manikrana54/hans-rosling-and-the-power-of-bubbles-27b3a1951bbb?source=rss-7189830cd297------2</link>
            <guid isPermaLink="false">https://medium.com/p/27b3a1951bbb</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[hans-rosling]]></category>
            <dc:creator><![CDATA[Manik Rana]]></dc:creator>
            <pubDate>Mon, 11 Feb 2019 01:15:13 GMT</pubDate>
            <atom:updated>2019-02-11T01:17:35.529Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*fVSWGgBMqmrKqoos7EIYLg.png" /><figcaption>Hans Rosling | Image</figcaption></figure><p>I was in grade 11 and at the top of my Model UN (MUN) career when I came across one of the most iconic TED Talks to date. MUN required rigorous factual soundness when presenting arguments and when discussing Sustainable Development Goals of the UN, analyzing raw data is vital. However, numbers aren’t the best thing to look at, especially when they’re in spreadsheets encompassing over 4000 cells. “The best stats you’ve ever seen” by Hans Rosling breaks down some of these numbers and provides a perspective that goes against many preconceived notions about economic and political conditions of countries. Now, politics and economics talk isn’t for everyone, and I get it. But, watching a senior man talking off his shirt and swallowing a sword in a conversation about global health a tendency to turn heads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*rMKKoQLZEoWWZBLADmqAEg.png" /><figcaption>What if your statistics professor ate a bayonet to prove a point?</figcaption></figure><p>Late and revered statistician Hans Rosling has what I consider some of the best presentations to date. It takes a lot to gain the attention of Melinda Gates and Fidel Castro and deliver plain truth about the “developing world.” While being listed as one of the top 100 most influential people in the world by Time and Foreign Policy, Rosling is less famous amongst other viral scientists due to his lack of conventional academic milestones. With 10 TED talks and millions of views, he continues to change mindsets even in death.</p><p>Besides his natural charm, liveliness and, lack of fear of what others may have to say, Hans delivers clear, informative and, visually-appealing presentations by laying out otherwise dull data in a variety of charts and graphs. Rosling’s bubble charts are probably the most impactful. His performances take data visualization to a level where anyone can understand how the basic concepts of poverty, health and, economics work in a global context. He keeps his audience engaged with by running around the projector screen and almost hugging it to emphasize the movement of a bubble. If he can’t reach the top of the screen, he pulls out a comically sizeable extendable rod. Rosling never fails to impress to make you giggle while discussing fact-based global statistics and health.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nUmRS_eBr26Bj2fenhVU1Q.gif" /><figcaption><a href="https://www.gapminder.org/">Gapminder</a> is one of Hans Rosling’s iconic part of the presentation</figcaption></figure><p>It’s only when we better understand the problem that we can provide a more effective solution. Hans Rosling can change your view of the world in three minutes, and maybe even help you win a MUN. Give it a shot, watch his videos, I’m sure you’ll be left moved.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27b3a1951bbb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PowerPoint for 6th graders]]></title>
            <link>https://medium.com/@manikrana54/powerpoint-for-6th-graders-8377bf9a501b?source=rss-7189830cd297------2</link>
            <guid isPermaLink="false">https://medium.com/p/8377bf9a501b</guid>
            <category><![CDATA[blog]]></category>
            <dc:creator><![CDATA[Manik Rana]]></dc:creator>
            <pubDate>Mon, 04 Feb 2019 01:57:24 GMT</pubDate>
            <atom:updated>2019-02-04T01:57:24.056Z</atom:updated>
            <content:encoded><![CDATA[<p>I remember when I made my first webpage; I was in 6th grade and it was a part of my computer science course. It wasn’t the flashiest and took under 20 lines of code to complete. The result was a bright, almost blinding yellow screen that said, “DO YOU WANT TO BE A ROCKSTAR???” at the top and “then go be one nobody stopped you” at the very bottom. This was my first experience with programming in any way and for most people, its that initial “hello world” displayed in tiny green text at the top corner of their screen that ignites a spark of curiosity towards programming and computer science in general. Now like I said, this webpage wasn’t the flashiest of all things and it certainly didn’t give me any motivation to enjoy computer science. This is where Microsoft’s PowerPoint comes into my life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*VGgjGSSOhGMtCPN-Xi43kA.png" /><figcaption>The first ever webpage wasn’t fancy, just like my middle school ones</figcaption></figure><p>After making a cheeky website with the slightest hint of a personal touch, my computer science teacher decided that I should be the next student to make a PowerPoint presentation and present it for our school’s monthly event. Every month our school would have a gathering in an auditorium where there is a massive display of various dances, songs and plays based on a theme. Since it was the month of March, the theme was spring. Now, this wasn’t any small undertaking for one had to stand in front of almost 1000 students and not fumble in their speeches. I, however, was ready for this task. I was always ready for a public speaking opportunity and being that one kid with a fancy accent in an Indian school, teachers were also confident in my abilities.</p><p>The presentation itself was probably what made the entire opportunity worthwhile. I got to skip class and sit in a lab filled with outdated computers with internet access — probably the only thing a middle schooler like me could’ve wanted besides having a teacher cancel class. There was no better feeling than waving your friends goodbye on your way to freedom while they were stuck learning about the various rivers in India.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W4GhXeVZEYXfioBi_c5fmw.png" /><figcaption>PowerPoint has come a long way from when I first started out</figcaption></figure><p>Prior to this, I had no experience in making PowerPoint presentations. It took me over two hours to get make my first ever slide with fancy animations. Yet, it was one of the coolest things I had come across: being able to simply drag and drop images and text to your desire seemed so much more powerful over what HTML could ever provide (which I realize now, is untrue). Inserting shapes and adding animations was intuitive and opened a seemingly endless world of possibilities. By the end of 2 weeks and countless revisions, I ended up making a presentation of over 25 slides. The presentation was a success, everybody loved it and my skills surely have improved over time. I only wish I had a dropbox account back then so I could save it ¯\_(ツ)_/¯.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8377bf9a501b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Curating Curiosity]]></title>
            <link>https://medium.com/@manikrana54/curating-curiosity-6f024a95e766?source=rss-7189830cd297------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f024a95e766</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Manik Rana]]></dc:creator>
            <pubDate>Fri, 01 Feb 2019 22:55:40 GMT</pubDate>
            <atom:updated>2019-02-01T22:57:54.057Z</atom:updated>
            <content:encoded><![CDATA[<p>Inquisitiveness is innately inherent to human beings. However, often it gets lost in the want of a nurturing atmosphere. I started this weekly blog for 2 reasons: to share interesting materials I come across in computer science and statistics and to fulfill the blog writing requirement for my computer science course — CSC290. This article is dedicated to the latter. So without further ado, my name is Manik Rana and I’m a second-year student at the University of Toronto Mississauga. I intend to pursue a degree and computer science and statistics. I’m currently enrolled in a course called “Communication Skills for Computer Scientists” and hope to finish with better writing skills.</p><p>I was born in Canada but I moved to India by the time I was 9 years old, which has probably everything to do with what I am today. I was fortunate to have an academic atmosphere at my home with parents and teachers who never quenched my quests. Consequently, I started developing a hunger for knowledge, so much so that at one point in time I was interested in everything and I wanted to know everything. I read a number of magazines covering mostly technology and science. My quest for knowledge led me to probably the edges of the internet, where websites were more about information rather than mere status updates. I browsed through huge chunks of data covering space, controversial technology, international politics, security and whatnot. These days, it leads me to Artificial Intelligence and high-level statistical concepts.</p><p>Despite all that, I’m not the skinny gremlin who’s hunched by his laptop all day and night. I actively participate in highly competitive competitions such as Model United Nations ( (MUNs) and Hackathons. My leadership abilities arose and got polished by my participation in countless debates and over 20 MUNs as a delegate, chairperson and organizer along with mentoring prospective delegates for delivering some of the best performances in MUN. It requires the right blend of analytical ability, factual soundness and strong soft skills. Networking with industry professionals, ambassadors and sometimes even Nobel laureates truly provides for an enriching experience. When I’m not giving speeches or idea pitches, I’m usually playing FPS games or chilling with my friends and (occasionally) reading some book that I’ll probably never finish.</p><p>Now, even though I consider English to be my first language and I’ve heavily participated in public speaking I still find my writing skills to be below-average. No matter how easy I find winging-up a last-minute speech based off some half-read article that I read, I find it hilariously difficult to start any sort of writing task. Is it my lack of writing skills or sheer laziness of a college student? I don’t know, but this is something I hope to improve on over the next few months with these posts.</p><p>I hope you learned a bit about me from this and while I end this article here, my journey is only beginning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f024a95e766" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>