<?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 Anushka Singh on Medium]]></title>
        <description><![CDATA[Stories by Anushka Singh on Medium]]></description>
        <link>https://medium.com/@m9anushka?source=rss-aa8d79b943ac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QiUQbBzMtKIN1EXQ762e5g.jpeg</url>
            <title>Stories by Anushka Singh on Medium</title>
            <link>https://medium.com/@m9anushka?source=rss-aa8d79b943ac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 15 May 2026 16:36:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@m9anushka/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[My first PR on GitHub]]></title>
            <link>https://medium.com/@m9anushka/my-first-pr-on-github-cf523d83520b?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf523d83520b</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Sun, 10 May 2026 02:43:36 GMT</pubDate>
            <atom:updated>2026-05-15T05:04:53.202Z</atom:updated>
            <content:encoded><![CDATA[<p>Well! It’s been a long time that I was procrastinating contributing to the open source and recently in April I got the opportunity to register in Nexus Spring of Code and they accepted my request. Since I had 6th semester final exams, I got no time to how to work on different projects and today also I do not know much…</p><p>I opened a project named symptom-assist which is not a general application s/w for checking symptoms but using structured 2 stage pipeline: Knowledge graph + LLM API(Groq AI).</p><p>There is a some story to it that why I eyeballed on this project so back in my 2nd year, my team was working on drug-drug interaction (an AI based application mainly a chatbot) as I am eager to do something for healthcare domain every now and then I was determined to finish this AI project to a good end but the skillset — — — thumbs down!</p><p>Fast forward to 2026, I made a project pertaining to triaging the customer’s complaint based on type and severity demonstrating Agentic AI…Guess what it was not a failed project and apart from that I made a mental health chatbot which helps understanding human’s emotions showcasing context engineering by preserving memory up to certain number of messages sent to the application. Adding to the detail this was a cloud project- serverless backend and MSAL authentication (worked on free tier) with react frontend.It is heavily dependent on cloud, right now I am not working on that.</p><p>So what did I solve in <em>SymptomAssist AI</em>, a bug, a simple bug related to escalating to emergency situation even the disease was not serious. For now I changed a snippet of code in the main file. If it’s get approved or the problem get solved then the achievement would be personal because in my mental health application, the moments where the user is not safe and suffering from degrading mental health it will escalate to recommend helplines to talk to a professional in cases like these. What do i remember is it was not working properly maybe there was an error in my rule based logic as i was using Gemini API , they do not prefer to help in specialized serious advices as per the guidelines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l6J-GA3f_ZaoIbR8bM6UJw.png" /><figcaption>it got merged guys , i am glad for this</figcaption></figure><p>I hope to contribute more to the varied projects</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf523d83520b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ZS Campus Beats Challenge]]></title>
            <link>https://medium.com/@m9anushka/zs-campus-beats-challenge-8e64bf87caf6?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e64bf87caf6</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Sun, 26 Apr 2026 03:18:35 GMT</pubDate>
            <atom:updated>2026-04-27T10:46:05.304Z</atom:updated>
            <content:encoded><![CDATA[<p>It was a wonderful day yesterday, I got the opportunity to participate in ZS campus beats challenge held for B.tech prefinal year students…So there were two choices of solving business case or tech challenge and in either of them one can participate so I opt for tech challenge in the team of three.</p><p>As a team captain I was responsible for creating workflow as to how the tech difficulty would be solved with the agent enabled in the existing system</p><p>When I started the challenge A problem statement flashed to building <em>Retail Disruption Management Agent — A company named RetailCo operates a large network of stores, warehouses, and distribution channels across multiple regions. The company receives real-time disruption alerts from stores, suppliers, and logistics partners.</em></p><p>Problem Statement<em> </em><strong><em>Design a GenAI workflow that receives a disruption alert (alert description + basic structured signals) and selectively calls relevant APIs to gather additional context.</em></strong></p><p>They had provided available data and APIs required to call when agent is dealing with the alerts and indicated success criteria.. Since second half of my junior year, my interests inclined to solve e-commerce issues and agentic AI was actively used while I was building projects. This problem clearly resonated with me. We began with making workflow to show how the agent enabled will solve the issues occurring because manual resolution was costing unnecessary time and capital</p><p>Below the figure is a workflow I selected the tabs in the superset environment to connect as to how to proceed if a particular issue arises in the system</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*Oh8ECdC71ZWXLM0N3v1Z_g.png" /><figcaption>Fig.-Workflow of RetailCo. agent</figcaption></figure><p>In node 1 the agent is receiving the disruptions for ex- which product or location is affected, how much the problem is urgent, type of disruption..</p><p>In node 2 in the LLM step the agent assigns value between 0 and 1 based on the different parameters such as urgent product, flagship store etc.</p><p>And there comes first check point where Tier 1 APIs are called if the issue is still not in a defined bracket, the agent is meant to call 3 APIs (these APIs are suggested in the problem statement as well to be used intelligibly).They are used to calculate confidence scores. The fun part is I am currently studying data mining dealing with the stats part.</p><p>Now comes the evaluator/guardrail which will validate the scores</p><p>Another checkpoint having Tier 2 APIs if the confidence score is still not greater enough to exit then agent investigates more data by fetching APIs for example diving deep into the problem history, alternatives and supply chain status..After all of the paths converge whether the APIs were called for that issue or not and the final severity is calculated as follows:</p><p><strong>Final Severity= Base Score × Demand Multiplier × Region Multiplier × Recurrence Multiplier</strong></p><p>In the final step the agent is going to check the resources for redistribution and the structured result is returned just like this</p><p>Severity : CRITICAL<br>Priority : P1<br>Action : Redistribute from Warehouse B to Store 42<br>APIs Used : Inventory, Demand, History<br>Reason : High stockout risk + demand surge + problem has occurred 4 times before</p><p>Action suggested with minimal resources used and the APIs are called only when the problem needs to be dug down deeper…</p><p>The Hackathon was 1 hour only and the platform was new to me a bit. With each tab clicked, it asked us to fill the requirements such as code snippet, description, type of graceful fallback. Annotation was time taking… And I missed to fill few of them because of time constraint.</p><p>Talking about the experience First and Foremost I am glad I accepted the challenge plus the problem statement was akin to the projects I am currently engaged in..</p><p>The individual assessment was the pain as only some of the questions from DBMS and Cloud were easy, there was one SQL query and one dsa question on real world problem. I really enjoyed it.</p><p>We do have MCQ round today, an individual assessment once again . I am wishing me the best to attempt all the questions on time</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GvyB8TC1_vSPjjwh3MNYHA.png" /><figcaption>It is including Quant topics as well</figcaption></figure><p>It’s all happening amid my final exams, balancing on the tight rope.. I wish I could solve genuine problems like these every now and then.</p><p>Also, if you have any suggestions from where I should revise core subjects for acing the challenges then please let me know!</p><p>p.s. I attended the exam..Firstly I faced webcam difficulty, they swiftly resolved the issue.</p><p>The questions were spanning various aptitude domains and it was quite fun to solve them. Some were confusing especially deducing some numerical value and other was making an assumption.</p><p>For me the exam was doable but demanded speed as the time limit was only 1 hour in which every section was having fixed time to finish the questions.</p><p>Bye !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e64bf87caf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A modern form of exploitation on marginalised community]]></title>
            <link>https://medium.com/@m9anushka/a-modern-form-of-exploitation-on-marginalised-community-a007ec56de8d?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/a007ec56de8d</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Thu, 26 Feb 2026 18:05:08 GMT</pubDate>
            <atom:updated>2026-04-11T04:49:19.107Z</atom:updated>
            <content:encoded><![CDATA[<p>Data annotation~ all the data analysts, ML engineers’ fraternity can understand, meanwhile I discovered the proper definition of the terminology on the coursera. <em>It’s to add labels to raw data such as images, videos and text to help ML algorithms to understand the data and draw valuable insights from it.</em></p><p>By the way, I am not here to critically analyse the subject here.</p><p>A few months ago, I happened to watch a documentary where there was interrogation of some backward (financial status) sections of African country. They had assumed the role of data annotators, we will uncover why? The problem starts when the humans who have no proper conditions to work with no infrastructure are labeling the data to train ML algo. due to which these models are biasedly trained. I do not know how extensively their seniors review but I am pretty sure that these tech giants are meant to exploit the people at the other end.</p><p>I clearly remember about one of them who was compelled to do this job because his family member was going through a medical condition for which he needed the work, it was pathetic to see him. The other lady said she gets the task to label the biopsy images and what not. She herself confessed that she is no medical professional. I just want to ask that is there any dignity of a person left who is not having upper hand in the society?!</p><p>The man told the interrogator who was making that documentary that he is asked to click the images of people around him especially children to feed the data into the ML model. He was shattered…</p><p>You can see the level of persecution when I am about to tell you that we are facing the same kind of exploitation in India also.</p><p>I am no against data annotation, we certainly need it to strengthen the efficacy of ML models but when I got to know recently that the people from marginalised communities from our country, who are earning to make their ends meet, working as miners are given the data annotation job which is not likeable at all, I was feeling a bit off.</p><p>This is most undignified and utterly disgustful, it might look sensational to read but the women from these communities are annotating videos for which they flag the abusive content, the adult content to train the ml models to guardrail any form of misuse of content when general consumers tend to interact with these bots or any application.</p><p>I beg to differ with these tech firms, the ladies are harshly impacted of the kind of work they are given, the wages might not be up to the mark . This is the new gig work since the explosion of AI based companies, these middlemen hire the labourers to annotate the given data for the tech firms.</p><p>In the name of diversifying or generalizing the AI/ML , we must have some sense to enforce regulation on these people who are exploiting the poor.</p><p>Education the most important will let people to choose what to do, what to deny, who to slap hard enough. Obviously the workers are fighting for the justifiable payments as well. Any kind of labeling the data needs to be monitored. I suppose I am encouraging to come forward for more of rigid labour rights.</p><p>I guess this is the same documentary I watched <a href="https://youtu.be/ehkECk2KJjY?si=k26XVY0Q4CnJUYbP">https://youtu.be/ehkECk2KJjY?si=k26XVY0Q4CnJUYbP</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a007ec56de8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Miniature red overlay on all of my desktop icons~ a moment of eagerness]]></title>
            <link>https://medium.com/@m9anushka/miniature-red-overlay-on-all-of-my-desktop-icons-a-moment-of-eagerness-4c389424e7ac?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c389424e7ac</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Wed, 17 Dec 2025 14:59:31 GMT</pubDate>
            <atom:updated>2025-12-17T15:06:25.087Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone , I am here to tell you about a moment of attention to detail when I was chaotically busy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*cpVHaSaxycor64-QLgJcpw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KA-WDlUhWNNC15bbhhNf_A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XrCik_na6wuQVrZ1x526aA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E70JSg5j8esOCr9NujnvOg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wW6C-TWv6jpl0Cy2NtSuNg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X6NHvMBRhBBsXEvI1QHtKg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KDKRA3-M9A_MGt_wSMH-eA.jpeg" /></figure><p>I was repeatedly testing on local host and because of that I had to switch on the server, I hit Ctrl+C right now.</p><p>Is my handwriting too poor to comprehend?</p><p># Tech and its core</p><p>Courtesy: This piece of information is provided by AI, an effortless inquiry…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c389424e7ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Find the median of 2 sorted arrays]]></title>
            <link>https://medium.com/@m9anushka/find-the-median-of-2-sorted-arrays-d783f4e74da5?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/d783f4e74da5</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Mon, 24 Nov 2025 16:17:53 GMT</pubDate>
            <atom:updated>2025-11-24T16:28:28.037Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Upcoming: This problem was relatively better to understand ,what exactly can be solved , given 2 sorted arrays try to merge into one sorted array and then find the median. But the question demanded to not follow O(n+m)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/0*4gLYTNURHdkUv4yU" /><figcaption>My current situation is being locked in the laptop</figcaption></figure><blockquote><em>Question of finding median of 2 sorted arrays</em></blockquote><p><strong>The overall run time complexity should be </strong>O(log(min(n, m)))</p><p>The challenge of time complexity can be tackled by applying binary search on both the arrays and in the given question the arrays are sorted so we have not a more job to do.</p><p>You have 2 sorted arrays and what I did, Merged them and calculated the median.</p><p>nums1 = [1, 3, 8]<br>nums2 = [7, 9, 10, 11]</p><p>combined — — — → [1, 3, 7, 8, 9, 10, 11]</p><p>Median = 8</p><p>The time complexity — -&gt;O(n + m)</p><p>In binary search approach , we need to find the partition (dividing each array into 2 parts)</p><p>nums1: [1, 3, | 8]<br>nums2: [7, | 9, 10, 11]</p><p>Now take the initial half of both the arrays which in turn create the new separate arrays</p><p>[1,3,7]</p><p>[8,9,10,11]</p><p>So how will we know where to cut the each array, for this we need to run binary search</p><p>Suppose A and B are 2 arrays</p><h4>The partition is <strong>valid</strong> if:</h4><p>A left = A[i-1]<br>A right = A[i]<br>B left = B[j-1]<br>B right = B[j]</p><p>A left &lt;= B right<br>and<br>B left &lt;= A right</p><p>TO FIND THE CUT PARSE THE ARRAYS AS :</p><h4>j = (n + m + 1)/2 — i</h4><blockquote>The link to Visualize <a href="https://medianvisualizer.netlify.app/">https://medianvisualizer.netlify.app/</a></blockquote><p>If the total number of elements are odd :</p><h4>median = max(A left, B left)</h4><p>If the total number of elements are even:</p><h4>median = (max(A left, B left) + min(A right, B right)) / 2.0</h4><p>You must think that why we have these conditions when we already have direct formula for even and odd in mathematics because we are not merging the arrays and working on an array and applying certain trick rather we are applying partition on 2 new arrays.</p><p>It has given logarithmic time complexity and met our goals perfectly.</p><p>I hope you got this, I too got to understand</p><p>Courtesy : The visualizer is made by AI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d783f4e74da5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My pov on Sliding Window Technique]]></title>
            <link>https://medium.com/@m9anushka/my-pov-on-sliding-window-technique-6696e238932b?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/6696e238932b</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Fri, 07 Nov 2025 06:06:33 GMT</pubDate>
            <atom:updated>2025-11-07T06:21:45.842Z</atom:updated>
            <content:encoded><![CDATA[<p>There are so many problems which are solved by brute force and the increasing time complexity is not looked upon. When I used to code in python many years ago , I tried applying all the logic just to get to the output and proving my code can run all the test cases accurately.</p><p>Sliding window technique is designed to transform 2 nested loops into a single loop thus reducing the number of iterations and time as well as memory overhead.</p><p>Usually on Arrays ,strings and lists</p><p>To find the subranges in some array, to find some sequences in the lists.</p><p>Let’s come back to 3rd problem of leetcode ‘Longest substring without repetition’</p><p>Output: ‘the length of the substring to be found’</p><p>Let’s check on the brute force approach</p><p>The outer loop will traverse the array one by one and the inner loop tries to look up for the unique consecutive characters and put them to comparison with each subsequent inner loop executing till the length of the string.</p><p>It was easy but the time complexity is O(n²) here and while question has not asked to have certain time complexity , to reduce it.</p><p>However, It was my need to be quick and provide efficient solutions, for to practise it I came to know sliding window technique.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NZcNs3OgDl5bYzp2xkJs0Q.png" /></figure><p>As stated above, It is a twisted approach in which a new element is added and the old element if repeats in the window is being removed in the loop itself.</p><p>A two pointer technique and a method to working on dynamic range that moves through data efficiently.</p><p>Time complexity is linear and constant space complexity— hence I am going to learn it more</p><p>A bit of context : When we write the program we create an array which elements’ position/index will begin from -1.</p><p>So we will update the index number if the element is found in the traversal of the string.</p><p>If we found that the element repeats then we will remove the previous element with the help of the I pointer</p><h4>How?</h4><p>When we find the same element exists in the string on the next iteration since we need longest substring without repeating characters , just update the previous pointer +1 which shifts the window , I know this is in the air but try to visualize it .</p><p>p.s. I have this visualisation problem, I mean can’t imagine or comprehend from what’s written in the text easily. so I try to make things simpler and I know many of you know DSA but What am I doing that trying to imagine what i can understand from the code then rewrite it, I forget easily what was in the air before me!</p><p>#Building concepts everyday</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6696e238932b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The question on singly linked list]]></title>
            <link>https://medium.com/@m9anushka/the-question-on-singly-linked-list-eb1983e0754f?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb1983e0754f</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Sun, 02 Nov 2025 09:45:15 GMT</pubDate>
            <atom:updated>2025-11-02T09:45:15.665Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, Long time no see.</p><p>I encountered second question on leetcode adding 2 numbers. The problem meant to sum up the digits which are stored in the 2 separate non-empty linked lists in the reverse order. No leading zeroes in any linked list is guaranteed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/0*R_d0YU66FDAIhpFB.jpg" /></figure><p>342 is stored in the l1 linked list reversibly</p><p>465 is stored in the l2 linked list reversibly</p><p>together made up to 807 but the output must be 7,0,8</p><p>I can say this is bit twisted but if you know the concept of linked lists, it’s a piece of cake for you.</p><p>Since we know about SLL and it’s definition</p><p>Create a dummy node which will act like a placeholder to make the building of resulting list easier and the current node pointing to the dummy node. Since adding two nodes might give the digit&gt;10 so do not forget to create carry. So far set dummy and carry to 0</p><p>while (l1 != nullptr || l2 != nullptr || carry)</p><p>this was the loop which is crucial before starting the addition because we need to check whether the node in list 1 exists or not. If yes, go ahead and add it to the sum default to 0 and there is no else because we need to add both the digits of the respective lists, similarly check for not null in list 2 and add the node’s digit to the sum and finally we put the carry for it’s presence so that if the carry exists we can increase the linked list node. This is the good practice we can escape the expected leading 0s if we are forming the new linked list directly [no reversal] like we are doing the simple addition on this data structure.</p><p>I hope I am going right! One thing I know I started late because while writing this I am myself understanding the concept better.</p><p>Anyways, Most important step is to use the carry effectively</p><p>Let me explain 9+3 =12</p><p>we keep 2 and carry 1 is added to the next set of nodes/digits to be operated upon so the linked list to be created must have 2 not 12 in the single node</p><p>Here comes another solution to this problem initialize digit as the ‘modulo(10) of the sum’ of that iteration so that we can get the ones digit. This was easy, according to the constraints in the problem the value in the node cannot exceed a single digit so the sum will be max. a double digit</p><p>Another thing, As we have set sum=carry then carry=sum/10 and add the carry to the next addition.</p><p>digit = sum % 10<br>carry = sum / 10</p><p>Then the current node will move to the next node to increase the list (the new list).</p><p>Time to return the list get out of the while loop and then return dummy.next</p><p>You got this, one and only thing is practise the syntax.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*t4zz7g08t_DjsqYW" /><figcaption>SLL</figcaption></figure><p># Building concepts everyday</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb1983e0754f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Problem of 2 Sums]]></title>
            <link>https://medium.com/@m9anushka/the-problem-of-2-sums-c432864a6eb4?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/c432864a6eb4</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Sat, 16 Aug 2025 10:27:44 GMT</pubDate>
            <atom:updated>2025-08-16T10:30:06.035Z</atom:updated>
            <content:encoded><![CDATA[<p>I began learning DSA and started solving questions on leetcode a leading community to discuss and explore the topics on placement preparation according to a students’ needs which has been providing a plethora of coding quests to level up their problem solving skills. I started with question 1 and it read as “In an array find any 2 numbers which added up to the number given by the user and return the indices of those numbers”.</p><blockquote>My Brute force Approach</blockquote><p>I had thought of a logic that I would solve to just get through the question and tried to apply linear search in an array and used subtraction of an iteration from the target number in the for loop and whatever the result came if belonged to the array to do this i used another for loop n-1 times, it will be the second number then the program will return the indices asked in the question. This was my process to approach the problem.</p><p>I know this looks like a blueprint of how the code is going to look like?</p><p>Yes My coding concepts are very jumbled</p><blockquote>What was the difficulty?</blockquote><p>The part is I am searching for elements in the array itself and in the linear search the iterator traverses to the very last element which increases the time complexity to O(n²). There was a hint in the end of the problem that solution must be optimal and code should be fast as we are intended to do that.</p><blockquote>Savior</blockquote><p>I honestly didn’t know how to approach this but I have studied of Hash maps last year in my DSA class.</p><p>In CPP we have STL (Standard Template Library) providing set of containers in which there lies unordered associative containers among the four types. The unordered map has been used in this problem which is also called implementation of Hash table. It uses Hash function, it is nothing but the method to store the elements in the table in index like fashion.</p><p>Suppose you have a number and you want it to be stored in the hash table so the hash function can be used to efficiently manage the data.</p><blockquote>How Hash function works</blockquote><p>For the small entries we use direct address table via one to one mapping but for the non-sequential keys we have to use another method by applying modulo function on the key with the size of the table. And one of them is also squaring the key and extracting the mid digits.</p><p>This is the hash value which is the pointer or index to the hash table</p><blockquote>Why am I using the unordered_map?</blockquote><p>I could have used the ordered associative containers and utilised map function from the set.</p><p>Reason 1: We are not supposed to maintain the order according to the given question</p><p>Reason 2: for every average case lookups or insertion the time complexity of ordered map is O(log n) which is more than that of its counterpart. For the large number of lookups that unordered one has the better performance. The reason behind the avg time complexity of map function being O(log n) is to keep the elements in the sequence, the map has to maintain the red black tree.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*NXlV8cyclMFwjr2FGis4Iw.png" /><figcaption>when you try to arrange something in a particular order it takes time</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*Sav8XMRgI18EKuQnPEvObg.png" /><figcaption>whatever the operation returns the indices we insert the key there only</figcaption></figure><blockquote>Finally We are using the hash table</blockquote><p>Initially the unordered map is empty and we have the for loop traversing the given array</p><p>nums = [2, 7, 11, 15] //suppose this is the array<br>target = 9 //and the 2 numbers should sum up to 9</p><p>for i = 0, nums[i] = 2</p><p>n= target- nums[i]=&gt; 9 – 2= 7</p><p>is 7 in the map, no</p><p>update {2:0} in the map</p><p>for i = 1, nums[i] = 7</p><p>n=target- nums[i]=&gt; 9–7= 2</p><p>is 2 in the map , yes</p><p>update {7:1}</p><p>here the element was present in the map which came out of subtracting the next number from the target</p><p>In this, the map is storing the values and directly checking for the next number if it satisfies the condition it simply returns the indices and there is no further traversing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*jH6zb8Xefa-CMTgBL9Q4AQ.png" /><figcaption>I found this on web</figcaption></figure><p>It might be possible that the desired numbers in the beginning are not matching the if condition the map will search and stop at the answers we need that is why the worst case time complexity is O(n) and not more than that.</p><p>Learn more about time and space complexity which will help your code for fast executions</p><p># Building concepts everyday</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c432864a6eb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What working with Pehchaan The Street School has given to me]]></title>
            <link>https://medium.com/@m9anushka/what-working-with-pehchaan-the-street-school-has-given-to-me-9b83b25698f7?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b83b25698f7</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Tue, 12 Aug 2025 14:55:48 GMT</pubDate>
            <atom:updated>2025-08-12T15:13:25.299Z</atom:updated>
            <content:encoded><![CDATA[<p>Around 4 months ago, I had joined this noble organization to contribute to the childrens’ everyday situations through writing with the glimpse of stories at certain times. I remember I read the whole novel just to get some inspiration or I could say to connect with the life deeper which is usually I strive to. From switching through social media pages and embedding their side into my content writing was no piece of cake, writing in itself is the long hour contemplation girding the words just to be perfect for little children.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*3hX1xDQto4e9kDY6.jpg" /></figure><p>When I was about to pen down my first article to prove my competency, I was unsure whether I would be able to write a good paragraph or not, my dubiousness was a moment and I soon discovered that I should definitely commit to Pehchaan The Street School. In my B.Tech curriculum college writing is almost dead and we only think about quick practical solutions which decide our fate and testament to the ability to learn and adapt to the dynamic corporate environment. But to stop and smell the roses with these pupils who have dreams in their eyes reminds me of my schooldays when I used to take guidance from my mentors, peers and family. This was impactful in my early years towards personality development and juggling through various subjects which is also happening now with strict deadlines, I decided to add some layer to my work-life and entered into the world of non-profit agency. It delivers uncountable benefits and support to the students who are enrolled and a great amount of growth for volunteers and interns, yes I showed up for them every week in the meetings took my time out. I learned consistency brings out encouragement to do more and sharpen our skills that’s exactly did occur to me.</p><p>I have so much gratitude for the children who gave me a different perspective for the society. I was seeking this kind of fulfillment and the other interns who constantly showed creative freedom in their articles. With Pehchaan The Street School this is my first internship which couldn’t be completed without adherence and self- motivation.</p><p>The interesting part is the one on one assistance by respective team leaders for proofreading and helping in case someone is running out of ideas.</p><p>Pehchaan The Street School provides incredible experiences to all of the people associated with it in any form. The continued collaborations and relieving the hassle of studying any less than others operating 10 centers in Delhi-NCR and teaching the skills relevant to today and coming times. I learned to manage the multitasking and kept learning from the other interns as well. All of this was a pack of emotions and tasks bringing my imagination to life in various ways. In this tenure I had nostalgia about my school days, the subtle part I never paid attention with vivid details before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-qnWKtbz2qRvpNJI" /><figcaption>Thankyou Pehchaan The Street School and lovely children</figcaption></figure><p>To craft by my own and thinking out of the box about the issues the children face kept my engineering spirit alive. It rendered me to remain in discipline and boasted my perseverance even in the face of strict timelines I had to meet. I realized that every opportunity is giving you a chance to be one step closer to your goals. I got to know the importance of selfless drives which help our society to live a better life.</p><p>A lot of patience was endured when I used to research a similar fit for my article and the foremost thing was for every lights, camera, action ; there is a lot of work behind that. We just get to see the highlight reel but there is a whole team giving a part of their time. The belief I got with finishing every week article to meet the goals of our team was truly worthwhile.</p><p>Pehchaan The Street School aligned with my values and as always I was very close to the children and their upliftment. I wish right to education becomes the utmost priority and our nation takes the pride. In the end I have profound thankfulness and elation for the organization which has open doors for everyone willing to work for.</p><p><a href="https://pehchaanstreetschool.org/">Pehchaan The Street School - Education For All | Let Education be Viral</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b83b25698f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Oprah Effect and Pehchaan The Street School]]></title>
            <link>https://medium.com/@m9anushka/the-oprah-effect-and-pehchaan-the-street-school-6b790e0e2cff?source=rss-aa8d79b943ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b790e0e2cff</guid>
            <dc:creator><![CDATA[Anushka Singh]]></dc:creator>
            <pubDate>Tue, 12 Aug 2025 14:31:57 GMT</pubDate>
            <atom:updated>2026-02-27T03:42:39.489Z</atom:updated>
            <content:encoded><![CDATA[<p>Oprah Winfrey, an author of numerous books centered around the themes of personal growth, resilience and healing. A standing out media leader conducting several programs like ‘Oprah’s Book Club’ and ‘The Oprah Conversation’. She has organized speaking tours in 2025 across Australia and New Zealand having the strong digital presence.</p><p>Many of us is familiar with this snapshot of her life doing philanthropic activities giving her best for girls hailing from underprivileged backgrounds, providing scholarships and educational help. She indulged in activities like partnerships in the times of crisis and raised millions to give the financial aid. What not she has done being very close to her audience and earned this through lot of hard work. But Do we know her backstory, her inspiration?</p><p>Her remarkable character is commendable made out of hardships she faced during childhood which formed her empathy to n number of times more.</p><p>She suffered instability, poverty and recurrent abuse in her early days , born in rural area of Mississippi in 1954 to a teenage mother. She was disciplined by her grandmother because of which she learned to write at her young age.</p><p>Oprah was further given support by her father where she had great schooling while excellence followed her in academics, she was good at speech and debates which laid foundation of her work today.</p><p>She was bright and availed scholarship to study communication in Tennessee University.</p><p>Her days back in her childhood made her sensitive towards educating young girls and she sponsored education and other kind of support furthermore. She started her television career while in college. This showed her resilience and determination, she was truly hardworking not the one who believes in her fate and do not pursue to change it.</p><p>She is exemplary to many children who think they can do it and trust themselves highly. She is the one who gave to the society what she could have done in her power. Even at the old age she does not flicker but finds ways to mitigate the problems in many parts of the world.</p><p>Her multifaceted work included talk shows which aired as a prime time. She devoted herself in the eradicating social issues through television. Many campaigns she led significant to passing of Bill in favour of children being protected from any kind of physical abuse. A remarkable film producer and many notable awards she received for her novels and movies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*2nlq2pne4idPErA24LI8xA.png" /><figcaption>Studying Maths</figcaption></figure><p>Pehchaan The Street School has a similar focus on teaching children and helping them in many ways. Just like her the organization conducts workshops, health tracks , defense bootcamps for young girls and a great music and dance weekends by inviting emerging talents which inspire the students a lot. The organization raise funds and advocate their honest work on the media. Even the work has been initiated but the spirit is big and wide. With slow and steady steps they were able to execute many centers and educating 1600+ students. Pehchaan The Street School has the motive of providing preliminary education to students because base is as necessary as the further pursuits. With this goal the refinement of the thoughts of students has been changing the perspective of the very society. Oprah Winfrey had built many schools and supported higher education to deserving students. The founder of Pehchaan the Street School Akash Tandon had the vision to provide mainstream education and help them even in the times of covid the work didn’t stop which made the headlines of the region causing the great effect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*NnffPOT3eSl_30BG" /><figcaption>She is an author</figcaption></figure><p>People like Oprah even in the unpleasant situations and yet achieving dignified position, coming from the underprivileged families yet proving the equality lies in talent and conjuring the skills ,she is not any blue blood. She is the statement and made herself out of a life which many fail to recognize that whether they would be able to change their condition or not. Sometimes we need lighthouse and it helps us a lot. I remember people find your way when you least expect it just in the case of her, her father took her to Nashville where she thrived and became stable as she was processing the atrocities on her and her mother. Pehchaan The Street School is a metaphor to the lighthouse for these little children without any discrimination , they did what they wanted to. It is tough to raise funds and donations but their spirit couldn’t be weakened by any wave of wind.</p><p>I hear from Akash sir that they are doing the job because it was essential not because it’s noble or something but he considered it as the duty or responsibility. I know about the volunteers who spend their time with the children instead of typical hangout of young adults.</p><p>Pehchaan The Street School grew with the vision till it provides light to its every student’s life as the educated individuals.</p><ul><li><a href="https://pehchaanstreetschool.org/">Pehchaan The Street School - Education For All | Let Education be Viral</a></li><li><a href="https://www.facebook.com/PehchaanTheStreetSchoolOfficial/"></a></li><li><a href="https://www.youtube.com/channel/UCXd4gnTazJh3JugKENt5yog">Pehchaan The Street School</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b790e0e2cff" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>