<?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 Ainesh Phanithi on Medium]]></title>
        <description><![CDATA[Stories by Ainesh Phanithi on Medium]]></description>
        <link>https://medium.com/@aineshp?source=rss-457a2476d3d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ITX5NEtHJrejm26wm1LW3A.png</url>
            <title>Stories by Ainesh Phanithi on Medium</title>
            <link>https://medium.com/@aineshp?source=rss-457a2476d3d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 22:03:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aineshp/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[What Consulting Taught Me Beyond Work]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://aineshp.medium.com/i-always-thought-consulting-would-just-teach-me-frameworks-and-strategy-f1225a66e4bb?source=rss-457a2476d3d6------2"><img src="https://cdn-images-1.medium.com/max/2600/1*cTSJ2xnvEeUg4PXlMWkaFw.jpeg" width="3000"></a></p><p class="medium-feed-snippet">I always thought consulting would just teach me frameworks and strategy. What I didn&#x2019;t expect was how much it would quietly shape my&#x2026;</p><p class="medium-feed-link"><a href="https://aineshp.medium.com/i-always-thought-consulting-would-just-teach-me-frameworks-and-strategy-f1225a66e4bb?source=rss-457a2476d3d6------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://aineshp.medium.com/i-always-thought-consulting-would-just-teach-me-frameworks-and-strategy-f1225a66e4bb?source=rss-457a2476d3d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1225a66e4bb</guid>
            <category><![CDATA[consulting]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Ainesh Phanithi]]></dc:creator>
            <pubDate>Sun, 24 Aug 2025 20:01:58 GMT</pubDate>
            <atom:updated>2025-08-24T20:02:36.785Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Finding Purpose Beyond Tech: Reflections on My Transition to Public Policy]]></title>
            <link>https://aineshp.medium.com/finding-purpose-beyond-tech-reflections-on-my-transition-to-public-policy-fa85d63ff199?source=rss-457a2476d3d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa85d63ff199</guid>
            <category><![CDATA[government]]></category>
            <category><![CDATA[storyofmylife]]></category>
            <category><![CDATA[public-policy]]></category>
            <category><![CDATA[transitioning]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Ainesh Phanithi]]></dc:creator>
            <pubDate>Wed, 09 Aug 2023 04:49:36 GMT</pubDate>
            <atom:updated>2023-08-09T16:11:26.635Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*UuqbhNv73TzTmQsf" /><figcaption>Photo by <a href="https://unsplash.com/@samferrara">Samuel Ferrara</a> on Unsplash</figcaption></figure><p>Given the frequent inquiries I receive regarding my decision to transition from a career in technology to a Master’s degree in Public Policy, I have decided to write a blog that may assist others facing similar crossroads.</p><p>I have pursued my bachelor’s in Information Technology, and had started working with multiple enterprises since my 3rd year of engineering. My pursuit of the academically demanding Technology Entrepreurship Program offered by the Indian School of Business during my 2nd year of college left me with a wealth of business information and a heightened curiosity about how corporates work. Therefore, working with companies in the area of technology and business helped me interact with industry experts and get a good understanding of how industries operate. I was then fortunate to interview and bag an opportunity with Mindler, an Ed-Tech firm that aims to revolutionize the career counselling industry by leveraging technology. Although I joined the company as a data analyst intern, my interviewer (and the CTO of the company) encouraged me to interact with other teams and focus on understanding the way the company operates. He gave me the freedom to spend time understanding the organization and allowed me to explore and identify gaps I could bridge.</p><p>Through this exploration, I picked an interest in product management (which I had heard a lot about during my previous corporate stints) and identified areas of improvement that a product expert can bridge. The CTO not only encouraged my taking on Product Management-related work as a data analyst intern, but also helped me transition into this position. This is how I became the company’s first dedicated product employee and spent considerable time on the company’s SaaS product. I worked with this company for 11 months.</p><p>Through these various experiences, I interacted with different products, organizations, and read a lot about product development. This was when I realized there was a significant gap in technology: Technologists do not pay enough attention to social aspects of the world. This was a significant issue for me as I was interested in starting my own social enterprise in the future. During this time, the School of Public Policy at IIT Delhi announced the start of their first ever Master’s in Public Policy program with a specialization in Science, Technology, Innovation and Development. The course looked very interesting to me, and after a detailed discussion with my brother, I decided to apply for it. After a quick research submission and an interview, I was fortunate to be among the 22 students selected for this program.</p><p>This program has not only exceeded my expectations, but has also provided me with valuable insights into social science and equipped me with essential knowledge for pursuing a career in developmental strategy. During my summer internship at Social Alpha, a renowned multistage innovation curation and venture development platform for science and technology start-ups, I had the privilege of witnessing groundbreaking solutions aimed at addressing societal challenges. My winter stint with EY’s Public Finance and Infrastructure team in the Government and Public Sector further deepened my understanding of the potential for positive impact through public sector consulting. These experiences have solidified my passion for this field and reinforced my commitment to contributing to meaningful projects that drive positive societal transformation by leveraging technology judiciously.</p><p>Participating in the Winter School of IIM Ahmedabad was another significant and transformative experience, one that enriched my comprehension of policy implementation at the grassroots level.</p><p>To conclude, I am profoundly indebted to my brother, who has consistently played the pivotal role of a mentor, a role model, and an unwavering source of support during challenging and seemingly hopeless situations. Without him, I wouldn’t be where I am today. My deepest gratitude goes out to my mother and father, who have admirably refrained from imposing traditional expectations upon me, a practice uncommon in Indian households. Their unwavering support, both financially and emotionally, has played a pivotal role in shaping my journey, and their guidance has shaped me into the person I am today. I am truly thankful for their proactive nature, always rushing to my aid even without my explicit request for assistance. Their unconditional love and care have been a constant wellspring of strength and encouragement. I extend my heartfelt gratitude to the numerous bosses I have had the privilege of working with. Their belief in my abilities and invaluable guidance have not only enhanced my professional growth but also fostered my personal development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa85d63ff199" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solution for Problem Code: HELPSANT in Numbers Quest contest conducted by The Coding Culture]]></title>
            <link>https://medium.com/the-coding-culture/solution-for-problem-code-helpsant-in-numbers-quest-contest-conducted-by-the-coding-culture-3151c2368282?source=rss-457a2476d3d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/3151c2368282</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[data-structures]]></category>
            <dc:creator><![CDATA[Ainesh Phanithi]]></dc:creator>
            <pubDate>Sat, 26 Dec 2020 07:18:27 GMT</pubDate>
            <atom:updated>2022-05-30T20:31:07.410Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oe5R4HEsOSehhGD8ggf9sg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@joshuaryanphoto">Joshua Reddekopp</a> on <a href="https://unsplash.com/">Unsplash</a></figcaption></figure><h3>Help Santa — Detailed Solution</h3><blockquote>In this blog, we are going to look at the problem “Help Santa” from the contest <strong>“Numbers Quest”</strong> organized by <strong>The Coding Culture</strong> on 23rd December, 2020.</blockquote><p><a href="https://www.codechef.com/NQST2020/problems/HELPSANT">Contest Page | CodeChef</a></p><h4><strong>Problem</strong>:</h4><p>Santa is preparing gifts for the children who were good this year. He decided to give more than 1 gift to children who were really well behaved, and so labelled gift boxes with the same number of the child that was on his list. But in the end, he realized that he did not have enough gifts to put into gift boxes so he removed duplicate gift boxes. Print the gift boxes without any repetition.</p><h4>Input:</h4><ul><li>First line will contain N number of elements in the array</li><li>The next line contains the elements in the array, entered with a space between each element.</li></ul><h4>Output:</h4><p>For each testcase, output the answer you get in a sequential manner with a space in between each element.</p><p>Constraints: 1 &lt;= n &lt;= 10⁶ 1 &lt; = A[i] &lt;= 30</p><h4>Sample Input:</h4><pre>12<br>2 3 7 5 5 2 8 1 4 6 6 6</pre><h4>Sample Output:</h4><pre>1 2 3 4 5 6 7 8</pre><h4><strong>Constraints:</strong></h4><p>1 &lt;= n &lt;= 10⁶</p><p>1 &lt; = A[i] &lt;= 30</p><h4>Analysis:</h4><p>Approach:</p><p>There are many ways we can solve this problem. Let us discuss 3 ways of doing so.</p><ol><li><strong>Brute Force Approach:</strong> Take a for loop and insert an element that you have traversed into a list(vector in c++) only if the element is not present in the list beforehand.</li><li><strong>Using a Set Data Structure:</strong> Insert all the elements of the array into a Hash Set. As a Set only stores unique values, you can directly print the values in the set.</li><li><strong>Optimal solution:</strong> Find the maximum element in the input array, and then run a for loop and print the elements from i=1 to maxElement.</li></ol><p>The solutions for these 3 methods are given below, with their corresponding time complexities.</p><ol><li>Brute Force Approach:</li></ol><p><strong>Time Complexity: O(N²)</strong></p><p>Solution using C++:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/77559854f3cae4fb6387f5c5125a864e/href">https://medium.com/media/77559854f3cae4fb6387f5c5125a864e/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e336e7f4d4f61726dc014dba36021f24/href">https://medium.com/media/e336e7f4d4f61726dc014dba36021f24/href</a></iframe><p>2. Using a Set Data Structure:</p><p><strong>Time Complexity: O(Nlog(N))</strong></p><p>Solution using C++:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1467bccfae95efb29bd96db9a9890c08/href">https://medium.com/media/1467bccfae95efb29bd96db9a9890c08/href</a></iframe><p>This solution, as you can see, is very straightforward. As a set stores only unique elements, we can use this property and convert the array which was given as input into a set.</p><p>3. Optimal Solution:</p><p>Identify the largest number in the array and use a for loop to print the values from 1 to the largest number you identified.</p><p><strong>Time Complexity: O(N)</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ad6a7ecb4f1fae1ef1ea23adb1afa656/href">https://medium.com/media/ad6a7ecb4f1fae1ef1ea23adb1afa656/href</a></iframe><p>I have used the same name of the function for the 3 different approaches to focus on the point that the purpose of the 3 functions are the same, just the implementation varies. The most optimal approach is the third solution as it executes in a linear time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3151c2368282" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-coding-culture/solution-for-problem-code-helpsant-in-numbers-quest-contest-conducted-by-the-coding-culture-3151c2368282">Solution for Problem Code: HELPSANT in Numbers Quest contest conducted by The Coding Culture</a> was originally published in <a href="https://medium.com/the-coding-culture">The Coding Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>