<?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 Raghav Arya on Medium]]></title>
        <description><![CDATA[Stories by Raghav Arya on Medium]]></description>
        <link>https://medium.com/@raghavarya2002?source=rss-1728be2854f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TKYNj4xqgYPXc3cWz5Vgzw.jpeg</url>
            <title>Stories by Raghav Arya on Medium</title>
            <link>https://medium.com/@raghavarya2002?source=rss-1728be2854f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 13:00:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raghavarya2002/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[Know About Hindu Navvarsh , हिंदू नववर्ष]]></title>
            <link>https://medium.com/@raghavarya2002/know-about-hindu-navvarsh-%E0%A4%B9%E0%A4%BF%E0%A4%82%E0%A4%A6%E0%A5%82-%E0%A4%A8%E0%A4%B5%E0%A4%B5%E0%A4%B0%E0%A5%8D%E0%A4%B7-1367ee643fc9?source=rss-1728be2854f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1367ee643fc9</guid>
            <category><![CDATA[hindu-nav-varsh-2080]]></category>
            <category><![CDATA[हिंदू-नववर्ष]]></category>
            <category><![CDATA[new-year-2080]]></category>
            <dc:creator><![CDATA[Raghav Arya]]></dc:creator>
            <pubDate>Wed, 22 Mar 2023 14:43:23 GMT</pubDate>
            <atom:updated>2023-03-22T14:43:23.268Z</atom:updated>
            <content:encoded><![CDATA[<h3>Know About Hindu Navvarsh , हिंदू नववर्ष</h3><p>हिंदू नववर्ष की शुभकामनाएं 🥳</p><p>Hindi Navvarsh marks the beginning of the Hindu calendar year and is celebrated on the first day of the Hindu month of Chaitra. Chaitra Shukl Pratipada is the first day of the waxing phase of the moon in the month of Chaitra and is considered an auspicious day for new beginnings. The New Year is known by different names in different parts of India, such as Ugadi in Telugu-speaking regions and Gudi Padwa in Maharashtra.</p><p>God , the creator of the universe, started the creation of the world on this day. Therefore, it is believed that this day marks the beginning of a new era, and people celebrate it with great enthusiasm. The festival also has an agricultural significance. It marks the beginning of the spring season, which is considered the ideal time for sowing crops. Therefore, farmers celebrate this festival as a good omen for a good harvest in the upcoming year.</p><p>The spring season is associated with new beginnings and renewal, and there are several services and activities that start around this time</p><p>In many parts of India, the academic year for schools and colleges begins in March or April, which is around the time of the Spring season.</p><p>In several countries, including India and the United States, the government presents its annual budget in February or March, which is around the time of the spring season. This is a significant, as the budget outlines the government’s spending plan for the coming year.</p><p>In agricultural communities, the spring season marks the beginning of the sowing season for many crops, such as wheat, barley, and vegetables. Farmers prepare their fields and sow the seeds, hoping for a good harvest in the coming months.</p><p>In several countries, including India, the financial year begins on April 1, which is around the time of the spring season. This marks the start of a new accounting cycle for businesses and individuals, and is a time to set financial goals and plan.</p><p>In many cultures, the spring season is associated with cleaning and decluttering. This is a time to get rid of the old and make way for the new, and many people take the opportunity to deep-clean their homes and workspaces.</p><p>Festivals and Celebrations: Many cultures around the world celebrate spring with festivals and rituals. For example, the Hindu festival of Holi is celebrated in March, while the Persian New Year (Nowruz) is celebrated on the first day of spring (usually March 20 or 21).</p><p>Also in the season of spring, which is a transitional season between winter and summer. During spring, the weather is typically mild, with temperatures that are not too cold or too hot. The season is characterized by new growth and renewal in nature, as flowers bloom and trees begin to grow leaves again. Spring is often considered a time of freshness and rejuvenation, as people emerge from the hibernation of winter and start to enjoy the outdoors again.</p><p>So these are the highlights about HINDU NAVVARSH and this time is seen as a time of renewal and growth, as nature blooms and the world awakens from the slumber of winter also its states the importance of the Vedic culture and Sanskriti, and the pride that Indian people have in their rich cultural heritage also the contributions of the rishis and maharishis, who provided the knowledge and wisdom that guides people all over the world to this day.</p><p>We also respect other calendars but we are really proud of our rich Vedic culture and Sanskriti because we celebrate our New Year on the basis of renewal of nature and various facts which are above mentioned.</p><p>आप सभी को दुबारा से हिंदू नववर्ष की शुभकामनाएं 🌸 🍀 🏵🥳🥳</p><p>#india #culture #newyear #spring</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*2swBsC9vOHrJmonKwe8PVA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Yx9dq7CWcv8HQikI3XGRgg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1367ee643fc9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Solve Find All Anagrams in a String in Java?]]></title>
            <link>https://medium.com/@raghavarya2002/how-to-solve-find-all-anagrams-in-a-string-in-java-288c769dba91?source=rss-1728be2854f------2</link>
            <guid isPermaLink="false">https://medium.com/p/288c769dba91</guid>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[java-solution]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[find-all-anagrams]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Raghav Arya]]></dc:creator>
            <pubDate>Fri, 03 Mar 2023 05:04:47 GMT</pubDate>
            <atom:updated>2023-03-03T05:04:47.204Z</atom:updated>
            <content:encoded><![CDATA[<p>Finding all anagrams in a string is a common problem in computer science and can have a variety of applications, such as text analysis and pattern recognition. In this article, we’ll explore one approach to solving this problem in Java using the sliding window technique.</p><p><strong>Problem statement</strong><br><em>Given a string ‘s’ and a non-empty string ‘p’, find all the start indices of ‘p’s anagrams in ‘s’.</em></p><p><em>An anagram is a word or phrase that can be formed by rearranging the letters of another word or phrase. In other words, two words are said to be anagrams of each other if they contain the same letters in a different order. For example, “listen” and “silent” are anagrams of each other, as they contain the same letters (“l”, “i”, “s”, “t”, “e”, and “n”) in a different order. Anagrams can be useful for word games, puzzles, and cryptography.</em></p><p><strong>Example 1:</strong></p><p>Input: s = “cbaebabacd”, p = “abc”<br>Output: [0,6]<br>Explanation:<br>The substring with start index = 0 is “cba”, which is an anagram of “abc”.<br>The substring with start index = 6 is “bac”, which is an anagram of “abc”.</p><p><strong>Example 2:</strong></p><p>Input: s = “abab”, p = “ab”<br>Output: [0,1,2]<br>Explanation:<br>The substring with start index = 0 is “ab”, which is an anagram of “ab”.<br>The substring with start index = 1 is “ba”, which is an anagram of “ab”.<br>The substring with start index = 2 is “ab”, which is an anagram of “ab”.</p><p><a href="https://leetcode.com/problems/find-all-anagrams-in-a-string/">We strongly recommend that you click here and practice it, before moving on to the solution.</a></p><p><strong>Approach</strong></p><p>We can solve this problem by using the sliding window technique. This involves maintaining a window of characters in ‘s’ that is equal in length to ‘p’. We then move this window along the string ‘s’ , checking at each step whether the characters in the current window form an anagram of ‘p’.</p><p>To keep track of the frequency of characters in the current window, we’ll use a hash table (or map) that stores the count of each character. We’ll also create a hash table for the characters in ‘p’ to compare against.</p><p><strong>Algorithm</strong><br>1. Initialize two pointers left and right to the start of the string ‘s’.<br>2. Use a map to store the frequency of characters in the current window.<br>3. Move the right pointer to the right until all characters in the frequency map match the frequency map for ‘p’.<br>4. If the frequency maps match, add the starting index of the window (left pointer) to the result list.<br>5. Move the left pointer one step to the right, and update the frequency map accordingly.<br>6. Repeat steps 3–5 until the right pointer reaches the end of the string ‘s’.</p><p><strong>Implementation</strong><br><em>Here is an example implementation of the above algorithm in Java:</em></p><p>Java</p><pre>class Solution {<br>    public List&lt;Integer&gt; findAnagrams(String s, String p) {<br>        List&lt;Integer&gt; result = new ArrayList&lt;&gt;();<br>        if (s == null || s.length() == 0 || p == null || p.length() == 0) return result;<br><br>        int[] hash = new int[256]; // store frequency of characters in p<br>        for (char c : p.toCharArray()) hash[c]++;<br><br>        int left = 0, right = 0, count = p.length();<br>        while (right &lt; s.length()) {<br>            // if the character at right pointer is in p, decrease count<br>            if (hash[s.charAt(right++)]-- &gt;= 1) count--;<br><br>            // if the window size equals to p, add the starting index of the window to result<br>            if (count == 0) result.add(left);<br><br>            // if the window size is greater than p, move left pointer<br>            if (right - left == p.length() &amp;&amp; hash[s.charAt(left++)]++ &gt;= 0) count++;<br>        }<br><br>        return result;<br>    }<br>}</pre><p>C++</p><pre>class Solution {<br>public:<br>    vector&lt;int&gt; findAnagrams(string s, string p) {<br>        vector&lt;int&gt; result;<br>        if (s.empty() || p.empty() || s.size() &lt; p.size()) {<br>            return result;<br>        }<br><br>        vector&lt;int&gt; freq(26, 0);<br>        int count = p.size();<br>        int left = 0, right = 0;<br><br>        // count the frequency of characters in p<br>        for (char c : p) {<br>            freq[c - &#39;a&#39;]++;<br>        }<br><br>        while (right &lt; s.size()) {<br>            // if the character at right pointer is in p, decrease count<br>            if (freq[s[right++] - &#39;a&#39;]-- &gt;= 1) {<br>                count--;<br>            }<br><br>            // if the window size equals to p, add the starting index of the window to result<br>            if (count == 0) {<br>                result.push_back(left);<br>            }<br><br>            // if the window size is greater than p, move left pointer<br>            if (right - left == p.size() &amp;&amp; freq[s[left++] - &#39;a&#39;]++ &gt;= 0) {<br>                count++;<br>            }<br>        }<br><br>        return result;<br>    }<br>};</pre><p><strong>Time and space complexity</strong><br>The time complexity of this solution is O(n), where n is the length of the string ‘s’. The space complexity is O(1), as we only need to store the frequency of characters in ‘p’ and the current window, both of which have a constant size.</p><p><strong>Conclusion</strong><br>In this article, we explored how to find all anagrams in a string in Java using the sliding window technique. By using two pointers and a hash table to keep track of the frequency of characters in the current window, we were able to solve this problem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=288c769dba91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Azure Devops Day Microsoft]]></title>
            <link>https://medium.com/@raghavarya2002/azure-devops-day-microsoft-ec9b7c4ce5fd?source=rss-1728be2854f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec9b7c4ce5fd</guid>
            <category><![CDATA[it-industry]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[meetup]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Raghav Arya]]></dc:creator>
            <pubDate>Sat, 27 Aug 2022 09:13:29 GMT</pubDate>
            <atom:updated>2022-09-18T15:14:46.192Z</atom:updated>
            <content:encoded><![CDATA[<h3>Azure Devops Day @<a href="https://medium.com/u/d97749d23c4a">Microsoft</a></h3><p>Hello Readers !!</p><p>I’m Raghav Arya, pursuing B.tech in IT(final year). Yesterday, I attended Azure Devops Day at Microsoft office in Gurugram. It was an amazing session and will always stay in my memory because this was my first ever meetup which is too in microsoft. First time I had a chance to visit and experience the Microsoft India office and my reaction was just ‘WOW’</p><p>So, to start my journey I boarded the train at 9:30 AM from Sonipat Railway Station and reached at New Delhi railway station at 11:15 AM (approx.) and after that I boarded the Delhi metro from itself New Delhi to Sikanderpur Metro Station and from there I took a local ride to DLF phase 2. Surprisingly, near DLF phase 2 metro station, there was a Microsoft, American Express, MakeMyTrip office and I felt glad that one day I’ll have a chance to enter in these offices. So I entered in the building and asked the security guard for the way and he guided me and then I reached at security check and they checked my government ID proof and the security people who checked my ID were so humble and we talked about my picture in ID, LoL :D. Btw it was a nice experience and she guided me as well about the Microsoft office. So the Microsoft office is in C-block and 10th floor. And suddenly I got very much excited to meet folks and to see the office from inside and also some amazing food :). because I didn’t did my breakfast so, I was hungry at that time and when I just entered the office I felt really glad to see the Microsoft office. Then I went in the room where event was being planned and the event had already started and I literally didn’t knew anybody there. So, I attend the event and listened to 2 speakers who talked about their new technologies like Azure and DevOps &amp; MLOps, the speakers were very nice and they started from scratch and because most of the students are beginners so they started from scratch and they also talked about some advanced topics and I got to learn so much from them about Azure DevOps. Because till now I worked with Amazon Web Services (AWS), so Azure was new to me, yeah, but I could relate so many things. After the end of 2 sessions we got a break for 10 minutes and everyone proceeded towards a hall and there was an amazing cappuccino and some baked cookies. And we unknowingly exceeded that break which was about 10 minutes but that break went for 45 minutes long xD. Everyone enjoying the office and some were taking pictures together and I also started to take some pictures and I didn’t know anybody there , So I asked random guy to take my picture and he said “Ok sure”. They were 3 friends. So one of them asked me to share my Whats App number so that they will share my pictures. So when I tell them my name like ‘My name is Raghav Arya’, one of them said “You’re one na , that have a YouTube channel, I saw your videos on YouTube and these were really amazing and you also helped me in google cloud event”. So I said yes, and he showed me a chat on WhatsApp and my number was already saved in his phone. So at that moment, I felt very proud on myself and I gave a pat on my back.</p><p>That guy was Aakash Garg who was taking the picture and all these folks are really really amazing.</p><p>Hemant Suteri, Shubham verma, Raghav Arya, Aakash garg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I6xFIeJ-5Qt72NzdCK64dQ.png" /></figure><p>Like that I receive many appreciation in my DM’s and I also shared few ones on my Instagram and this time is different because this is offline. I’m sharing this because whenever you bring some change in someone’s life by any means, it gives goosebumps inside. So, they all are from Maharaja Agrasen Institute of Technology (MAIT) and their 2nd year was about to an end and mine 4th year would start soon in September, 2022. So after taking pictures together we went for our lunch together. The organizers of the event is RESKILL, they gave some pizzas and some drinks to everyone, which was very nice and during the lunch, two guys were also there and we asked each other that you’re from which college like that and I was shocked we’re from same college, lol. So their first year was an about to an end and they also tell me that they have watched my few of YouTube videos.</p><p>Raghav Arya, Karmanpreet Singh, Jasmeet Singh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*OhxDuimNESGdsPbdz5VLAA.png" /></figure><p>So, at that moment I felt relaxed and thought that I’m not alone here, I know someone and they also know me. That was relaxation feeling for me and after that I met several guys and discuss about IT industries and so on … After the break we attended 3 more sessions which were about Kubernetes, Jenkins, Devtron, terraform and CI/CD pipelines and so on. Yeah some terms were also new to me but I’m sure I’ll learn about them in detail. So learning was amazing and after all sessions, the organizers gives us some cool swags like T-Shirts and some bottles to a few. And after that we took a group picture together for remember this day and after that I discussed few things from the speakers, they all are doing a great job in the IT Industry like the speakers are from HCL, COFORGE and many other tech Companies. And after that we again took some pictures and saw the beautiful, clean and dream office. After that, we all went back home. I hope everyone wants to join these companies. We all are trying our best in our own way. And trust me, Hard work surely pays off.</p><p>I’m not good at content writing , so there might be a grammatical error or some typos. And this my first ever blog. So please, if you’ll see any errors, tell me in my DM without any hesitation, I’ll definitely rectify and improve myself.</p><p>Special thanks to Sarthak Jain , Chavvi Garg, whole RESKILL team also thanks to all organizers and all community members for organizing these kinda meetups.</p><p>Best Wishes to you all…</p><p>Thanks for reading.</p><p>You all can connect with me , my social handles are:</p><p><a href="https://www.instagram.com/raghavarya2002/">Instagram</a> , <a href="https://www.youtube.com/c/RaghavArya">YouTube</a> ,<a href="https://twitter.com/RaghavArya2002?s=08">Twitter</a> ,<a href="https://www.linkedin.com/in/raghavarya/">LinkedIn</a> ,<a href="https://github.com/Raghavarya2002">Github</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*rOmFqfH9cAxKAtMHMpzdyQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec9b7c4ce5fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>