<?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 Bhavini Singh on Medium]]></title>
        <description><![CDATA[Stories by Bhavini Singh on Medium]]></description>
        <link>https://medium.com/@singhbhavini?source=rss-e58e05b714ab------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lnaktVYANhvKLPbu2laG5w.jpeg</url>
            <title>Stories by Bhavini Singh on Medium</title>
            <link>https://medium.com/@singhbhavini?source=rss-e58e05b714ab------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 09:27:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@singhbhavini/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[Lessons I learned during college]]></title>
            <link>https://levelup.gitconnected.com/lessons-i-learned-during-college-1301b265ddd4?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/1301b265ddd4</guid>
            <category><![CDATA[experience]]></category>
            <category><![CDATA[college]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[dream-job]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Fri, 24 Mar 2023 14:21:21 GMT</pubDate>
            <atom:updated>2023-03-26T00:39:05.128Z</atom:updated>
            <content:encoded><![CDATA[<h4>Your cheatsheet to making the most of college life</h4><p>The transition from school to college can sometimes be a little daunting and challenging but can also be one of your life’s most rewarding and fulfilling experiences. The shift for some students is huge. One leaves his parents’ protection and takes a step towards becoming independent for the first time. This newfound independence comes with many perks, but as Uncle Ben said — “With great power comes great responsibility”; The years that we spend at college are some of the most crucial years that play a significant role in shaping our future. As I graduate in a few months, I reflect on my journey through four years of college, contemplating my successes and shortcomings, and sharing with you the do’s and the don’ts to making the most of college life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8xMkP_XFZNcuRGYE" /><figcaption>Photo by <a href="https://unsplash.com/@napr0tiv?utm_source=medium&amp;utm_medium=referral">Vasily Koloda</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>1. Discover yourself</h4><p>School is an institution that binds all its students to a fixed curriculum, leaving limited scope to address the individuality and interests of each student. College, on the other hand, does no such thing. You can choose the stream you want to take, and in my case, I was even allowed to choose what subjects I want to study and in which sem. This flexibility allowed me to explore various subjects, topics, and paths and finally take only the ones that interested me.</p><p>Make use of the college years to discover what truly interests you. Find what you are passionate about and put efforts towards exploring and acquiring knowledge in that field. <strong><em>It does not matter what path you choose, whether academic or non-academic, make sure to give your 100% and work towards excelling in the chosen field.</em></strong></p><h4>2. Take it slow</h4><p>The biggest mistake I made was rushing head-first into learning a number of fields at the same time. This only wasted my time. When you first join college, you might find some people who are already far ahead in terms of knowledge and accomplishments. Know that everyone has their own journey, and they too must have started at some point. Do not get intimidated and try to rush the learning process. <strong><em>Take your time, build a strong foundation of fundamental concepts, and focus solely on your learning. The rest will automatically follow.</em></strong></p><h4>3. Come out of your comfort zone</h4><p>A major portion of the college experience involves learning outside the classroom. Make sure to participate in extra-curricular activities, attend fests, workshops, and conferences, and help organize these events if the opportunity comes.<strong><em> Interact with new people, take part in activities you have never tried before, and dare yourself to learn and experience something new as frequently as possible. </em></strong>Invest time into improving your social, interpersonal, and public speaking skills<strong><em> </em></strong>as these soft skills are extremely important when you transition into jobs and have to work.</p><h4>4. Invest in improving skills</h4><p>Getting swept up in coursework and having no time to build skills is a problem that I faced, especially in the second year of my undergraduate studies. It is very very important (I can’t stress enough) to have a balance in the time you devote to usual coursework and to improving the practical skills that will help you get that dream job. While college CGPA is an important factor that comes into consideration when you apply for jobs, it is skills and proficiency in your chosen field that actually make all the difference. <strong><em>So no matter what, devote time to practicing, polishing, and sharpening your skills apart from your usual academics.</em></strong> (Now, read that again!)</p><h4><em>5. Network</em></h4><p>It was during the third year of my undergrad that I heard one of my seniors saying — <strong><em>“Your network is your net worth”</em></strong>; It took me some time to understand exactly how important this statement was. Network with people who are in your field, and learn from their experiences. These are people who have probably faced the same problems you are facing today. No one can guide you better on what to do next. Your network can also help you come across opportunities that you otherwise might have missed. I personally have learned a lot from my seniors. Leverage platforms like LinkedIn to do the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9M0tLRdLTuQNOjAx" /><figcaption>Photo by <a href="https://unsplash.com/@carolynchristine?utm_source=medium&amp;utm_medium=referral">carolyn christine</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Last but not least, it’s crucial to remember that the years you’re currently living in are likely some of the most valuable and memorable of your lifetime. Amidst the chaos of discovering your true self and mapping out your future, be sure to carve out some time for yourself. Whether it’s bonding with your loved ones or embarking on adventures, prioritize creating unforgettable experiences that you can cherish for years to come. Don’t let the stress of navigating adulthood overshadow the joy that comes from making meaningful connections and creating happy memories.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1301b265ddd4" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/lessons-i-learned-during-college-1301b265ddd4">Lessons I learned during college</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Women In Tech Conferences]]></title>
            <link>https://levelup.gitconnected.com/women-in-tech-conferences-84b6db693931?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/84b6db693931</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[grace-hopper-conference]]></category>
            <category><![CDATA[stem]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Wed, 15 Mar 2023 16:56:21 GMT</pubDate>
            <atom:updated>2023-03-16T12:01:18.453Z</atom:updated>
            <content:encoded><![CDATA[<h4>Decoding some of the best women in tech events</h4><p>Women have always played a pivotal role in shaping the world of technology. The world’s first programmer was a woman named Ava Lovelace, and it was Grace hopper, an American computer scientist who pioneered the development of the first compiler. But even after their immense contribution, women have always been underrepresented in the field of technology. Amongst the STEM fields, engineering has the lowest percentage of women in its workforce, with only 15% of engineering jobs being held by women. Recently, there has been growing awareness of this gender gap and though steps are being taken to create awareness about the same and work towards a more diverse and inclusive workforce, there still is a long way to go before women are given equal opportunities and their contributions are fully acknowledged.</p><p>Being a woman in tech is not easy, but when women come together to support each other, they lift each other up, challenge the status quo, and break down societal barriers. Throughout my college life, I connected with many amazing women around the globe who played a very important role in shaping my journey in tech as a young woman. From sharing stories of triumph to providing mentorship and guidance, it was through connecting with these women that I understood the extent of the impact that I could have on society through technology and it became one of my biggest motivating factors. So, this Women’s History month I want to share all the opportunities that I got as a college student in the form of conferences, organizations, or events, that helped me network with some of the inspiring women technologists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M2vr-pBXE00TlGib.jpg" /></figure><h4>1) GRACE HOPPER CONFERENCE</h4><p>Grace Hopper Celebration (GHC) is the <em>world’s largest gathering</em> of women technologists. It has attendees from all around the world and is the first conference that I ever attended. The celebration includes keynote speakers, technical workshops, career and academic panels, and a career fair. One of the best parts of this celebration is that it provides students around the globe with scholarships which makes the celebration all the more accessible. It also provides 1:1 interaction opportunities with representatives from various companies, communities, and colleges. During the year I attended the conference, there were over 200 job openings available for attendees. If you are searching for employment, particularly in the United States, this conference is the ideal location to be.</p><h4>2) HARVARD WECODE</h4><p>Harvard WECode (Women Engineers Code) is an annual conference organized by Harvard University’s Women in Computer Science group. The conference is designed to bring together women in the technology industry, including students, professionals, and academics, to discuss and learn about the latest trends and innovations in computer science. The conference features keynote speakers, workshops, panels, and networking opportunities. It also provides scholarships to select students, which again helps them connect and work together with other scholars around the world, providing them with an immense learning opportunity. It is one of the most supportive communities one could become a part of.</p><h4>3)PERSPEKTYWY WOMEN IN TECH</h4><p>Perspektywy Women in Tech is an annual conference in Poland that brings together women interested in technology and promotes gender equality in the tech industry. The conference features keynote speeches, panel discussions, and workshops covering a wide range of topics related to technology, including cybersecurity, artificial intelligence, data science, software engineering, and entrepreneurship. Like the other two conferences, this too provides many employment opportunities in tech, especially in European countries and the UK. I was approached by several recruiters after submitting my resume and attending this conference. So if you are interested in any jobs in the mentioned regions this is your place to be!</p><h4>4)GOOGLE WOMEN TECHMAKERS</h4><p>Google Women TechMakers is a global program and community launched by Google to support and empower women in technology. The initiative offers a variety of programs, resources, and opportunities to help women advance their careers in tech and promote gender diversity in the industry. The Women TechMakers community includes events, workshops, mentorship programs, and online resources designed to provide women with the skills, knowledge, and connections they need to succeed in the tech industry. The program also offers scholarships and grants to support women pursuing careers in computer science and related fields.</p><h4>5)WOMEN COMMUNITIES</h4><p>Apart from these, I have also been a part of a number of other communities like Women Who Code, WomenTech Network, and the IEEE- Women In Engineering chapter of my college all of which helped me participate in several events and build my network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*TEc6jgojjCnpzrN6.png" /></figure><p>Some other events I am looking forward to attending in the future include:</p><ul><li><a href="https://rising.analyticsindiamag.com/">The Rising</a></li><li><a href="https://girlsintech.org/australia-conference/">The Girls In Tech</a></li><li><a href="https://www.womentech.net/en-in/node/35741">Women In Tech Global Conference</a></li><li><a href="https://www.europeanwomenintech.com/">European Women In Tech</a></li><li><a href="https://websummit.com/">Women In Tech Web Summit</a></li></ul><p>In conclusion, I would like to say that though women in tech have come a long way, there is still a long way to go. Women in tech conferences and events provide an opportunity for women to come together, network, learn from each other, and support each other. These events not only provide an opportunity for personal and professional growth but also promote gender diversity in the tech industry. So, I would like to encourage all the women out there to become a part of these events.</p><p>Thank you so much for reading! Hope this article helps you in finding your next conference! For any further questions, you can find me on <a href="https://www.linkedin.com/in/bhavinisingh18/">LinkedIn.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84b6db693931" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/women-in-tech-conferences-84b6db693931">Women In Tech Conferences</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Wells Fargo Interview Experience]]></title>
            <link>https://levelup.gitconnected.com/my-wells-fargo-interview-experience-13d7ca196bb6?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/13d7ca196bb6</guid>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[interview-experience]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[students]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Mon, 31 Jan 2022 03:20:00 GMT</pubDate>
            <atom:updated>2022-01-31T16:40:54.780Z</atom:updated>
            <content:encoded><![CDATA[<h4>On-Campus Interview Experience for Internship at Wells-Fargo</h4><p>Wells Fargo visited my college in November last year offering an internship to pre-final year students. Initially, students were shortlisted based on their CGPA and a few other parameters, after which around 250 students were allowed to appear for the first round.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*r1iCwbbs7lBUd_irsy3TTQ.png" /></figure><h4><strong>Round 1- Online Assessment:</strong></h4><p>The 250 students selected were informed to appear for a <strong>Computer Based Online Recruitment Test (AMCAT). </strong>The test consisted of 3 sections — English, Business Aptitude, and Coding.</p><ul><li>Each section had a time limit within which we had to complete it. We were not allowed to navigate back to a question after answering it.</li><li>There is no negative marking, and all questions are compulsory to solve.</li><li>English consisted of basic verbal questions like finding the error, paragraph-based questions, synonyms, etc. A total of 15 mins were allotted to complete 10 questions in this section.</li><li>The Business Aptitude section had 14 questions based on stocks and basic economics, just to test your logical reasoning and decision-making. No prior knowledge of stocks was required as such. The key in this section was to manage the time. 25 mins were allotted for this section.</li><li>The Coding section had 2 questions that could be solved in any language. The questions varied from medium to hard levels.</li></ul><p>A total of 30 students were selected for the next round.</p><p><strong>Round 2- Technical Interview Round 1</strong></p><p>Time: 50 mins</p><p>We were notified about the people going to the next round on the same day. The interview rounds were on the very next day.</p><ul><li>This round was held on zoom. The interviewer first asked me to introduce myself and asked a few questions about my interest. Then he proceeded to the coding part.</li><li>The interviewer tested my in-depth knowledge of the OOPS concept and had me code all the concepts that I explained.</li><li>He also tested my knowledge of C++, recursion, STL, and complexities by giving me a few scenarios to code. He also asked me how I could improve the complexity of my code.</li><li>Other questions included the difference between Java and C++, Method overloading and overriding, and a few follow-up questions based on the answers I was giving.</li><li>The questions were tricky and required a clear understanding of the basic concepts.</li><li>He also asked a few questions on my resume and ended the interview by asking me if I had anything that I wanted to know.</li></ul><p>It was my first ever interview. I was very nervous, but the interviewer was extremely friendly and helped me answer the questions with patience.</p><p>All the people who gave this round were allowed to appear for the next interview.</p><p><strong>Round 3- Managerial Discussion</strong></p><p>Time: 50 mins</p><p>In this round, the interviewer focused on my resume. He asked me in-depth questions about everything I had mentioned on my resume.</p><ul><li>This round too, like the previous round, was held on zoom. The interviewer first asked me to introduce myself. The first round of questions was based on my introduction. He asked me questions like why I liked C++ etc.</li><li>He then asked me in detail about the various conferences I attended, the scholarships I received, the programs I was a part of. He asked about my role in these and what I had learnt from each one of them.</li><li>After discussing my extracurricular, he moved on to my projects. He focused on this section the most as a majority of the technical questions in this round were about the tech stack that I had used to implement my projects.</li><li>My first project was on cryptography. He asked me to explain the underlying concept in detail, how I implemented the code, and a few questions related to the cryptography concepts.</li><li>He then moved on to the next project. It was a banking system. He asked me to execute and show him the project if possible.</li><li>He also asked me about the tech stack used to and asked me to explain the code for the various features I had implemented in my project.</li><li>He again asked me about the tech stack and how I had implemented it for the third project. I also showed me my hosted website for better understanding.</li><li>Finally, he asked me a few general HR questions about my motivation to work in tech and why I wanted to join the company.</li><li>In the end, I was given the chance to ask any question I had.</li></ul><p>He seemed satisfied with my explanation, but I did not have very high hopes as this was my first ever interview.</p><p>But when the results came I was one of the 10 people selected for the internship!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F11sBLVxNs7v6WA%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F11sBLVxNs7v6WA%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F11sBLVxNs7v6WA%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="196" frameborder="0" scrolling="no"><a href="https://medium.com/media/17e9f2dd491c9e6ce502bc06094b2fb1/href">https://medium.com/media/17e9f2dd491c9e6ce502bc06094b2fb1/href</a></iframe><h4>RESOURCES</h4><p>Some of the resources that I used for a <strong>quick revision</strong> before my interview were:</p><ul><li>My first step was to read the <em>interview experiences </em>of other students for Wells Fargo to assess the level of questions. I referred <a href="https://www.geeksforgeeks.org/category/interview-experiences/">GeeksforGeeks</a> for it.</li><li>Data Structure and Algorithms:<br>I primarily referred to a few saved questions on<a href="https://leetcode.com/"> Leetcode</a> to revise.</li><li>Database Management System:<br><a href="https://www.javatpoint.com/dbms-interview-questions">52 questions Interview Questions- Javatpoint</a></li><li>Operating System:<br><a href="https://www.geeksforgeeks.org/commonly-asked-operating-systems-interview-questions/">Top Interview Questions</a></li><li>SQL:<br><a href="https://leetcode.com/problemset/leetcode-curated-sql-70/">Leetcode Curated 70 SQL Questions</a><br><a href="https://www.hackerrank.com/domains/sql?filters%5Bstatus%5D%5B%5D=unsolved&amp;badge_type=sql">Hackerrank SQL Questions</a></li><li>C++ and OOPS:<br>I referred <a href="https://www.geeksforgeeks.org/object-oriented-programming-in-cpp/">GeeksforGeeks </a>to revise the important topics.</li></ul><p>I would like to end with a quote by Denis Waitley:</p><blockquote>Failure should be our teacher, not our undertaker. Failure is delay, not defeat. It is a temporary detour, not a dead end. Failure is something we can avoid only by saying nothing, doing nothing, and being nothing.</blockquote><p>To all the people working towards their goals — let’s keep grinding and stay hustling!</p><p>Thank you for reading. I hope this article helps you better prepare for your next interview. You can find me on <a href="https://www.linkedin.com/in/bhavini-singh-0420561b5/">LinkedIn</a> if you want to know anything else about the process. All the best!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13d7ca196bb6" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/my-wells-fargo-interview-experience-13d7ca196bb6">My Wells Fargo Interview Experience</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Grace Hopper Celebration]]></title>
            <link>https://singhbhavini.medium.com/the-grace-hopper-celebration-a35ffea5171a?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/a35ffea5171a</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[anita-borg]]></category>
            <category><![CDATA[vghc2021]]></category>
            <category><![CDATA[ghc]]></category>
            <category><![CDATA[grace-hopper-conference]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Wed, 19 Jan 2022 15:32:28 GMT</pubDate>
            <atom:updated>2022-02-02T07:35:40.075Z</atom:updated>
            <content:encoded><![CDATA[<h4>A step-by-step guide to making the most of GHC</h4><p>Grace Hopper Celebration (GHC) is the <em>world’s largest gathering</em> of women technologists. It is an unforgettable experience filled with amazing opportunities, and exceptional content focused on technology. Women came to network, learn, and find community.</p><p>This year (2021) it was held virtually (Thanks to Covid :/) from September 27- October 1. These four days were probably the best days of the year for me. I was selected as one of the GHC Scholars, which made it all the more better. GHC has so much in store with the very powerful, inspiring, and empowering keynote sessions, workshops, discussions, and career fairs. With the correct efforts, this conference can essentially help you land the job you have been waiting for! In this article, I will try to include the things I learned from my experience at vGHC’21 and everything I wish I knew before attending the conference.</p><p>I have broken down the conference into four stages to explain everything better. So let’s get started!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F4767352&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fdespicable-me-minions-lets-get-started-happy-excited-gif-4767352&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fr3XdvPsAV3kAAAAN%2Fdespicable-me-minions.png&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/f152eb61b96552df2d9bb54017cba731/href">https://medium.com/media/f152eb61b96552df2d9bb54017cba731/href</a></iframe><h4>Stage- 1: Applying to the Scholarship</h4><p>Becoming a GHC scholar has MANY perks to it. So anyone wanting to attend the celebration should try to become one. The scholarship application deadline varies for the type of GHC that you are applying to (i.e. GHC-US, GHCI, GHC-EMEA), so one must be on the lookout for the dates.</p><p>The application has many questions, so make sure that you have the proper time to finish the application. It also has some essay-type questions that need to be answered. Make sure that the answers are your own and reflect your motivation towards empowering women in tech. It also requires a referral from one of your college professors.</p><h4>Stage-2: Preparations for the Conference</h4><p>There are two scenarios possible: <br>1- You became a scholar and got the ticket<br>2- You bought the tickets. Either of the possibility it is time to start preparing for the conference.</p><p><strong><em>Resume Database:</em></strong></p><p>A few months before the celebration, you will get a notification saying that the resume database is open for submitting resumes. It is probably one of the most important parts of the conference. An approximate of 300 sponsors attend the conference and they will get in touch with the attendees after assessing their resumes. So make sure you submit your updated resume as soon as possible. AS EARLY AS POSSIBLE. (Can’t stress this enough) This step plays an important part especially in an in-person conference as companies will be handing out invites to their workshops, interviews, and parties after assessing the resumes.</p><p><strong><em>Get in touch with recruiters:</em></strong></p><p>Companies will start sending out information about the positions they are offering, their workshops before and during the event. Make sure you sign up for these and show interest in the companies. Also, get in touch with the recruiters attending GHC on LinkedIn (Really helps during the interviews!).</p><p>Also, make sure to follow tags like #ghc #vghc #ghc’21 as all the recruiters who post opening on LinkedIn will use one of these tags. This will help you stay updated and not miss out on any opportunity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PafppUYdrW_1t3hRb71Zw.png" /></figure><h4>Stage-3: During the conference</h4><p>The conference is full of keynote sessions, group discussion workshops, and fun activities like poster making. You can check out the agenda before the event and book a seat for yourself if there is a seat limit. Other than these, there is a major event that all the attendees look forward to— <strong><em>THE CAREER FAIR!! </em></strong>GHC provides the attendees with hundreds of companies with 2000+ job openings, all waiting to recruit talented participants. It primarily consists of 2 parts- 1:1 meetup and the sponsor booth.</p><p>Hacks 101 to make the most of Career Fair:</p><ul><li>Try to make 1:1 sessions with the companies you wish to interview with. These sessions put you in direct touch with a recruiter and can help you leave a good impression on the recruiter.</li><li>Prepare an elevator pitch to “sell” yourself to the recruiter as some companies only provide a time slot of 10 mins, and you would wanna put your best foot forward.</li><li>The slots for 1:1 sessions get booked real fast. So make sure that you start booking as soon as the bookings open to get as many companies as possible.</li><li>Visit the sponsor booth to talk to the representatives from the firm you couldn’t get for the 1:1 session. You might have to wait for your turn here, so be patient.</li><li>Most of the companies provide a separate link to the attendees who visit their booth to either submit resumes or apply for open positions, so be on the lookout for those.</li><li>Not only that, companies provide free goodies to the people who visit their booth too!!! Make sure you get those too. I got the goodies from Citadel and Roblox (Yayy!!)</li><li>The career fair is also one of the best opportunities to network. Make sure you get the LinkedIn details of as many recruiters as possible. This will help a lot after the conference.</li></ul><p>Well, while you are busy giving interviews and talking to recruiters don’t forget to enjoy the celebration because GHC is more of an experience than a conference. Make sure to attend workshops on topics that interest you and attend the keynote sessions. Trust me, you won’t regret it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*9Ds9HbSchhkvK6BY1nDyog.png" /></figure><h4>Stage-4: After the conference</h4><p>Well, now that you have attended the conference, had fun at DJ Night, and are still comprehending the last four days, we move on to the last part of our GHC journey. This stage plays a crucial role in deciding if you have really utilized the opportunities that the conference presents.</p><p>One needs to keep in mind the following things:</p><ul><li>Send personalized LinkedIn connection requests to the recruiters to personally get in touch with them.</li><li>Connect with fellow GHC scholars because, as I said, GHC is the best networking opportunity and helps you connect with people all around the world.</li><li>Companies will be sending follow-up emails to the applications you submitted or the interviews you gave during the conference for at least a month after the conference. Make sure to be active and respond to these communications.</li><li>Also, keep studying. You never know when your dream company might contact you. So you may want to be prepared for it.</li></ul><p>Keeping all these points in mind, I am sure every attendee will be able to make the most out of this great opportunity.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F5492174&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fyes-thats-all-over-done-bye-gif-5492174&amp;image=https%3A%2F%2Fc.tenor.com%2FeZ8wAshi7J4AAAAC%2Fyes-thats-all.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/5910715f1992b833c92d8570d71c217f/href">https://medium.com/media/5910715f1992b833c92d8570d71c217f/href</a></iframe><p>Thank you for reading! I hope this article helps you better prepare for attending the next GHC. All the best! You can find me on <a href="https://www.linkedin.com/in/bhavini-singh-0420561b5/">LinkedIn</a>.</p><p>If you’ve enjoyed this article, hit the clap button and let me know if you’re already planning to attend Grace Hopper Celebration 2022!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a35ffea5171a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Cool Things You Can Code With Javascript!]]></title>
            <link>https://singhbhavini.medium.com/7-cool-things-you-can-codewith-javascript-4ec96471ad14?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ec96471ad14</guid>
            <category><![CDATA[javascript-frameworks]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Thu, 06 May 2021 07:27:06 GMT</pubDate>
            <atom:updated>2021-05-28T05:39:24.231Z</atom:updated>
            <content:encoded><![CDATA[<h4>Applications of Javascript</h4><p>Javascript is one of the most popular programming languages of all time. It is the programming language of the web and is also one of the easiest languages to learn. Developed and launched 25 years ago, it has been around for a very long time. But unlike other languages, it continues to evolve and has extensive application. When it comes to javascript, you are limited only by your imagination. In this article, I will be enlisting some of the cool things you can code with Javascript.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ATK-AQ6S7ImVxHgw5iF_kQ.jpeg" /></figure><h4>1) Serverless Applications</h4><p>When we think about the functioning of any application, we take it by default that the app is running on a server that is handling user requests. But what if there was a way where you could make an application where you do not have to worry about server infrastructure. This is what serverless architecture is all about. It allows you to deploy many small functions on the cloud, and then these functions work together to perform the required tasks. The developers using serverless architecture only have to code the code for the application without worrying about the infrastructure which will be managed by the cloud providers. One can use NodeJS to write the Lambda Functions(AWS) and Cloud Functions. One of the major benefits of using serverless architecture is that one can create scalable applications.</p><h4>2) Mobile Apps</h4><p>Mobile phones are one of the most popular and used mediums to access the internet. All the websites designed are made responsive so that they can be used on mobile phones too. Now, developing different versions of apps for various platforms can be quite tedious. Javascript allows the user to develop cross-platform applications. Many javascript frameworks allow the user to code apps that support iOS and Android devices using the same framework. The two most popular frameworks are:<strong> React Native</strong> and<a href="https://ionicframework.com/"><strong> Ionic.</strong></a> Applications like Walmart, Airbnb, and Facebook were developed using react and JavaScript.</p><h4>3)Games</h4><p>To all the game lovers out there, you can develop your own browser games with javascript. Phaser is one of the most popular javascript game frameworks. It allows you to develop simple browser games. With the introduction of HTML5 canvas, there has been a drastic advancement in the technology and complexity of browser games. The browser was not a game platform traditionally but now with these advancements, there has been a significant rise in the number of such games. You can use <a href="https://codepen.io/TheCodeDepository/pen/jKBaoN?page=8">this</a> code as a reference for developing your first game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*-QXOpQwy2jBVlK-bTIrREQ.jpeg" /></figure><h4>4) Animate Websites</h4><p>The most widely adopted usage of javascript is in adding interactivity to any webpage or application. Javascript allows the user to interact with the webpage. It helps improve the user experience by converting a web page from a static page into a dynamic one. It adds behavior to the webpage. You can add a timer to the web page, hide or show information with the click of a button, create a search bar, or change the color on mouse-over events. When it comes to adding interactivity, you can do anything with a little bit of imagination and skill in javascript.</p><h4>5) Desktop Apps</h4><p>Besides Mobile Apps, javascript allows you to develop cross-platform Desktop Apps as well. ElectronJS is the framework used for the same. One of the major advantages of using ElectronJS is that it uses HTML, CSS, and Javascript to develop apps thus one does not have to learn anything new to get started. It allows the user to develop apps for Windows, Mac, and Linux as well.</p><h4>6) Flying Drones</h4><p>Yeah, you read that right. Javascript applications do not end at developing mobile and web apps or even serverless applications. It finds its implementation in controlling drones too! Drones are becoming popular in the tech world with their applications in shooting scenic shots and security. Some of the commercially available quadcopters come embedded with a basic OS. As a result, it’s possible to install NodeJS. So now one can program these machines easily by using JavaScript. This means that we can program the flying trajectory, speed, height fluctuations, and many other parameters by using JavaScript.</p><h4>7) Smartwatch apps</h4><p>Smartwatches have become the talk of the town with many health-cautious people buying them to monitor their heartbeat, pulse, etc. But what if I told you that you could code apps for it yourself. Popular smartwatch maker Pebble has created <a href="https://developer.pebble.com/tutorials/pebble-js-tutorial/part1/">Pebble.js</a>, a small javascript framework that allows a developer to create an application for the Pebble line of watches in JavaScript. Then there is <a href="https://sdtimes.com/alpha-software-releases-apple-watch-javascript-development-app/">Alpha WatchBench</a> which uses JavaScript to help developers build <a href="https://intersog.com/solutions/ios-apps-development/">iOS apps</a> for the Apple Watch too.</p><p>These are some of the projects that you can code and contribute to using javascript. But the list does not end here. Many creative projects can be developed using Machine learning with javascript. One can also create art and slides with the knowledge of Javascript. I hope you all experiment with javascript and develop some cool projects. Happy Coding!</p><p>You can also refer to — <a href="https://artjoker.net/tpost/am477hj6o4-what-sool-things-can-you-make-with-javas">https://artjoker.net/tpost/am477hj6o4</a>/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ec96471ad14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverless Architecture and Applications- All You Need to Know!]]></title>
            <link>https://singhbhavini.medium.com/serverless-architecture-and-applications-all-you-need-to-know-fd363c11dfd?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd363c11dfd</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[serverless-architecture]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Sun, 18 Apr 2021 04:11:52 GMT</pubDate>
            <atom:updated>2021-04-19T00:43:44.012Z</atom:updated>
            <content:encoded><![CDATA[<h3>Serverless Architecture and Applications- All you need to know!</h3><p>JavaScript is a programming language that has been around for a long time. Last year it completed 25 years after its launch as a web programming language. Unlike others of its type, this language has continually developed with the changing time. A variety of applications like web apps, games, and art can be coded with JavaScript. One such application is developing serverless functions. In this article, I will introduce serverless architecture and applications.</p><h4>What does Serverless mean?</h4><p>Serverless is a cloud computing execution model where the cloud provider dynamically manages the allocation and provisioning of servers. A serverless application runs in stateless compute containers that are event-triggered, ephemeral (may last for one invocation), and fully managed by the cloud provider. The pricing of these applications is based on the number of executions rather than computation capacity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4sl9fYuAxlwQUpFPTlLR9A.jpeg" /></figure><p><strong>Serverless architecture</strong> is defined as the way to build and run applications and services without having to run infrastructure by many organizations. It provides a way to remove architecture responsibilities from one’s workload, including responsibilities like scaling, and maintenance. Scaling and other such activities can be automatic, and one has to pay only for the services that one use. This architecture allows the users to write and implement code without giving them trouble to think about the underlying infrastructure. Even though the name suggests otherwise, serverless does not mean that the code runs without servers, but it means that developers no longer have to be concerned about server management. For this reason, in this architectural model, there is no need to purchase or rent servers in advance to host and execute the server-side code. Whereas<strong>, Serverless applications,</strong> also known as <strong>Function-as-a-Service or FaaS,</strong> is a service provided by most of the industry cloud providers in which they allow the users to only write code. The infrastructure behind the scenes is managed by them. Users can write various functions to implement business logic and then all these functions can be easily combined to talk to each other. Some of the most popular FaaS offerings from the cloud providers are namely:</p><ul><li>Azure Function (Microsoft)</li><li>AWS Lambda (AWS- Amazon Web Services)</li><li>Google Cloud Function (Google)</li></ul><p>These serverless applications with serverless architecture have some inherent traits that define them. They are as follows:</p><ul><li><strong>Low barrier-to-entry</strong>: It means that it is relatively straightforward to start getting ones’ code running in a serverless architecture. Not many pre-requisites are required for learning to use serverless. It thus has a very low knowledge requirement for entering into this field.</li><li><strong>Hostless</strong>: Using a serverless architecture implies that one does not have to interact with servers anymore. And because there are no servers to work with, this brings a significantly less operational overhead on their maintenance.</li><li><strong>Stateless</strong>: This means the state of these applications is created when the execution starts and destroyed when the function has been executed successfully. There is no state information being store automatically about these functions. In case, the users need to store the state information, a separate storage system like a database can be used.</li><li><strong>Elasticity</strong>: Using a serverless architecture provides great elasticity. It provides a huge scope of scalability. This also means there is no need for the manual management of resources. Thus many challenges in resource allocation disappear.</li><li><strong>Distributed</strong>: Since deployment units are very small, serverless architecture is intrinsically distributed. Many components have to be integrated via the network like authentication, database, queue, and so on.</li><li><strong>Event-driven</strong>: This means that you need an event that occurs before executing these functions. An event can be anything like a REST API request, a message added to a queue, etc. The response from the event, also known as a trigger, can be used to fire the execution of a serverless application.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*13UJ1gCwVMS6gtliX5i39Q.jpeg" /><figcaption>Building a Serverless Application</figcaption></figure><h4>ADVANTAGES:</h4><ol><li>The usage of Serverless application and architecture poses many benefits as it provides a cost-effective model where one only pays for the services being used and does not have to worry about investing in the internal architecture.</li><li>The function-as-a-Service architecture i.e. FaaS implementation allows the developers to create independent, resourceful functions like an API call.</li><li>With the cloud provider providing all the services, the user does not have to worry about infrastructure security and maintenance.</li><li>For the people starting their own ventures, it increases the time to launch the whole application in the market because of its modular nature which makes it possible to launch the application in parts and not the whole thing at once.</li><li>Using serverless allows the developer to shrink or invest in the application according to its usage and popularity. It also helps deploy the applications and code faster and provides more flexibility as discussed above.</li></ol><p>Thus using serverless architecture provides developers with many benefits when compared the conventional hosting methods.</p><h4>LIMITATIONS:</h4><p>Though serverless applications provide a variety of benefits to both users and developers it does have some limitations too.</p><ol><li>One of the major disadvantages of using serverless is that one has to depend upon the cloud provider for monitoring and maintaining the system because the developer has limited access to the internal architecture.</li><li>Also, because many small components are to be integrated into the system, the system tends to become very complex with an increase in modularity.</li><li>With everything running in the cloud there is no local environment to test and debug code in the development stage. This becomes a problem for the developers who are not very skilled and lack experience.</li><li>If considered over a long duration, serverless turns out to be more expensive than the conventional hosting methods because of integrating many small components.</li><li>In this architecture, cloud providers have control over the interaction between the components and thus the flexibility and customization of the system are compromised.</li><li>Cold starts are also one of the significant limitations that serverless applications face.</li></ol><h4>CONCLUSION</h4><p>Serverless architecture is certainly very exciting, but it comes with a bunch of limitations. The validity and success of architectures depend on the business requirements and by no means solely on technology. In the same way, Serverless can shine, only when used in the proper place as it is not the solution to every problem. Thus Serverless architecture is just one more option for deploying applications with many benefits if used in the right manner.</p><p>Hope I could explain the basics of serverless architecture. You can refer to the websites given in the reference section below to learn more about serverless in detail.</p><p>References:</p><ol><li><a href="https://www.thoughtworks.com/insights/blog/traits-serverless-architecture#:~:text=Conclusion,distributed%2C%20and%20event%2Ddriven">https://www.thoughtworks.com/insights/blog/traits-serverless-architecture</a>/</li><li><a href="https://newrelic.com/blog/best-practices/what-is-serverless-architecture">https://newrelic.com/blog/best-practices/what-is-serverless-architecture</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd363c11dfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Responsive Web Design- Choosing The Right Unit!]]></title>
            <link>https://medium.com/analytics-vidhya/responsive-web-design-choosing-the-right-unit-4cf2e7d72db7?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cf2e7d72db7</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[responsive-web-design]]></category>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Mon, 15 Mar 2021 11:35:40 GMT</pubDate>
            <atom:updated>2021-03-21T15:48:10.022Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wondered how all the websites that you visit every day are designed and developed? I have always been interested in developing a website. Though I was taught HTML in my school days, my knowledge and experience in web development were far less for me to be able to develop a website on my own. But this lockdown gave me time to improve on my skill set. So, I joined a few online courses to start from scratch and develop a website of my own.</p><p>I have been learning web development for almost 4 months now. During the fourth week of my course when I was done with HTML and had learnt the basics of CSS, my instructor dedicated a whole lecture to choose the right unit for all the parameters that we set in our stylesheet. Initially, I thought it would be too much to waste 30 minutes on it, but by the end, I realized how important a role these units can play. It was also during these sort of classes that I realized that it is the small details while developing a website that makes it stand out from the thousands of other already present. So in this article, I will try to share a gist of what I learnt during that particular session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uFz93v3MH012u53h" /><figcaption>Photo by <a href="https://unsplash.com/@flowforfrank?utm_source=medium&amp;utm_medium=referral">Ferenc Almasi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Some of the most commonly used metrics are pixels, ems, rems, and percentages. They are used to set the values of width, margin, padding, font, etc. I will be explaining each of them in this article and try to clear out the idea to build a responsive site.</p><h4>1) PIXELS:</h4><p>You are looking at a monitor which is comprised of lots of tiny dots that are used to make up an image. These are called pixels. These are the tiny dots that a screen is broken up in and are joined to form an image. Pixels have always been one of the most preferred units of web designers due to their inherent precision and accuracy.<strong><em> Once the pixel value is chosen for the font or element, the type size will remain exactly that across all devices and browsers.</em></strong> While this approach offers very precise control, but in recent times it does not support our need to build a responsive design capable of accommodating all screen types. Thus, the option of assigning rigid pixel values as your font sizes doesn’t seem to be the best choice.</p><h4>2) EMS:</h4><p>Ems are a relative measure of length. An em is the size of an uppercase M in any typeface, making the size relative to the font. The advantage of using em as a basis for type sizing is that<strong><em> by changing just the parent size, you can change all of the type sizes simultaneously. </em></strong>1em is equal to the current font size. For example, if we build a &lt;div&gt; and include text with a font-size of 16 pixels, 1 em will correspond to 16 pixels, 2 em to 32 pixels, and so on. Ems are resizeable in all browsers, and it’s not necessary to set the value for each element because in this case, the rule can be applied to the “parent” element and automatically to its respective “child” elements via the cascading process. This is useful because it lets you change the absolute size of elements like the font-size without changing their size relative to each other.</p><h4>3) REMS:</h4><p>Rems stands for Root-Ems. Its behavior is similar to that of the mentioned em unit with one important difference:<strong><em> Its value is relative to the root element of the document (in HTML, that’s the &lt;html&gt; element) and not to any of the other elements associated with it. </em></strong>The font size will always be relative to this root html size, rather than adjusting as you nest multiple containers with differing sizes. Thus all that you have to do to make your webpage responsive is to add media queries with certain breakpoints that support various devices and specify the size for your &lt;html&gt; element in these queries. All the other elements in the website get resized according to it. Rem also comes in handy to overcome the problem of nested elements as faced in em. It is because of this that rems are now one of the most widely used units as it provides the required responsiveness and is also supported in almost all the browsers.</p><h4>4) PERCENTAGE:</h4><p>Percentage is also a measurement of relative size. Percentages take the form of a number followed by %. It is a relative measurement where if you set the width of any element to be, say 50% it will be occupying 50% of the screen size available, may it be a monitor or mobile phone screen. Percentages can be used by the likes of the width, height, padding, and margin properties as well as the font-size as mentioned in the beginning. Just like ems, percentage is also resizeable units for font size, and their CSS declarations can be inherited. Theoretically, there isn’t a big difference between percentages and ems, they are both malleable units of measurement.</p><p>By choosing the right metrics, you can easily make your webpage responsive and make a website that supports all the platforms and browsers. There is a very good <a href="https://css-tricks.com/rems-ems/"><strong><em>article</em></strong></a><strong><em> </em></strong>written by <em>Chris Coyier</em> that explains a way in which you can incorporate all these units into your webpage and make the best use of them. You can check out more <a href="https://www.w3.org/TR/css3-values/#em"><strong><em>articles</em></strong></a><strong><em> </em></strong>related to this topic which would help you understand it better<a href="https://css-tricks.com/the-lengths-of-css/"> <strong><em>here</em></strong></a>.</p><p>This article was a summary of what I learnt and the notes I took down about choosing the right units. Though a very simple topic, if understood thoroughly, can make the process of developing a web-page much easier. Hope I could clearly explain the use of these units and you can use them in your next project in a better way. Have a good day!</p><p>Reference- <a href="https://designshack.net/articles/typography/whats-the-deal-with-em-and-rem/#:~:text=An%20em%20is%20the%20size,look%20better%20in%20big%20type">https://designshack.net/articles/typography/whats-the-deal-with-em-and-rem/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cf2e7d72db7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/responsive-web-design-choosing-the-right-unit-4cf2e7d72db7">Responsive Web Design- Choosing The Right Unit!</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Knapsack Problem]]></title>
            <link>https://medium.com/analytics-vidhya/knapsack-problem-7f05d0900db8?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f05d0900db8</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[knapsack-problem]]></category>
            <category><![CDATA[efficient]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 17:10:34 GMT</pubDate>
            <atom:updated>2021-05-28T05:41:15.474Z</atom:updated>
            <content:encoded><![CDATA[<h4>Different methods to solve the Knapsack Problem</h4><p>While solving problems on Dynamic Programming I came across the Knapsack Problem. It is one of the standard problems that every programmer must solve. In this article, I will discuss what exactly a knapsack problem is and what are the different methods that can be used to solve this problem.</p><blockquote>Given weights and values of n items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack</blockquote><p>In other words, the statement of 0/1 knapsack problem can be explained as, given two integer arrays val[0..n-1] and wt[0..n-1] which represent values and weights associated with n items respectively, and an integer W which represents knapsack capacity, find out the maximum value subset of val[] such that sum of the weights of this subset is smaller than or equal to W. You cannot break an item, either pick the complete item or don’t pick it (0–1 property).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*Rg3HWO8Gin3oWrDUqGHOvw.jpeg" /></figure><p>Therefore in this problem, we are given a set of items, each with a weight and a value and we have to determine the number of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible i.e. we have to maximize the profit by selecting the items to be included in our knapsack.</p><h4>METHODS TO SOLVE KNAPSACK PROBLEM</h4><p>While you will find this problem as an example of dynamic programming various algorithms can be used to solve this problem namely Greedy Algorithm and Branch and Bound Algorithm. In this section, I will discuss all these methods (including Dynamic Programming) briefly and compare all of them to find the most efficient algorithm.</p><h4>1)Dynamic Programming:</h4><p>Dynamic algorithm is an algorithm design method, which can be used when the problem breaks down into simpler sub-problems. Wherever there is a recursive solution that has repeated calls for the same inputs, it can be optimized by using dynamic programming.<em> </em><strong><em>The idea is to simply store the results of sub-problems so that they do not have to be re-computed when needed later.</em></strong> This algorithm thus utilizes the fact that the optimal solution to the overall problem depends upon the optimal solution to its subproblems. This simple optimization reduces time complexities from exponential to polynomial. It solves problems that display the properties of <a href="https://www.geeksforgeeks.org/overlapping-subproblems-property-in-dynamic-programming-dp-1/"><strong><em>overlapping sub-problems</em></strong></a> and <a href="https://www.geeksforgeeks.org/optimal-substructure-property-in-dynamic-programming-dp-2/"><strong><em>optimal sub-structure</em></strong></a> both of which are present in the 0–1 knapsack problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*2fFEffoqozenFLYFIhGQog.png" /><figcaption>Example for finding an optimal solution using dynamic programming.</figcaption></figure><p>Time Complexity<strong>:</strong> <strong>O (N*W).</strong><br> where ‘N’ is the number of weight elements and ‘W’ is the capacity of the knapsack.</p><h4>2)Greedy Algorithm:</h4><p>Greedy is an algorithmic method that builds up a solution piece by piece, <strong><em>always choosing the next piece that offers the most obvious and immediate benefit</em></strong>. So the problems where choosing locally optimal solutions also lead to the global solution are best fit for Greedy. This method is mainly used for the <a href="https://www.geeksforgeeks.org/fractional-knapsack-problem/">Fractional Knapsack Problem</a>. The basic idea of the greedy approach in this problem is to calculate the ratio value/weight for each item and sort the item on basis of this ratio. Then take the item with the highest ratio and add them until we can’t add the next item as a whole and at the end add the next item as much as we can. This will always be the optimal solution to this problem.</p><p>But the greedy algorithm does not always give the optimal solution for the 0/1 knapsack problem because this algorithm does not always consider the full object but can consider a fraction of the object too to maintain the capacity of the knapsack and maximize the profit. But in the 0/1 knapsack problem, we cannot consider a fraction of the object and have to consider the full object only. Thus it can be seen that the greedy method does not always guarantee the optimal solution for the 0/1 problem but works for the fractional one.</p><p>Time Complexity:<strong> O(n*logn)</strong></p><p>If using a simple sort algorithm (selection, bubble) then the complexity of the whole problem is <strong>O(n²).</strong></p><p>If using quick sort or merge sort then the complexity of the whole problem is) <strong>O(n*logn). </strong>As the main time taking step is sorting, the whole problem can be solved in <strong>O(n*logn)</strong> only.</p><h4><strong>3)Branch and Bound Algorithm:</strong></h4><p>A <a href="https://www.geeksforgeeks.org/branch-and-bound-algorithm/">Branch-and-Bound algorithm</a> is based on two main operations: branching, that is, dividing the problem to be solved in smaller subproblems, in such a way that no feasible solution is lost; and bound, that is, computing an upper bound (for a maximization problem) on the optimal solution value of the current subproblem so that eventually the subproblem can be solved.</p><p>This algorithm is based on a state-space tree. The state-space tree is a root of the tree where every level represents a decision in the solution space that relies on the upper level and any conceivable solution is represented by a few ways beginning at the root and finishing with a leaf. The root stays at level 0 and represents the state where no incomplete solution has been made. A leaf has no youngsters and represents the state where all decisions making up an answer have been made.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*iXL9KE8_iFJyxnlruofY_w.png" /></figure><p>The brute force method can be improved by backtracking. This backtracking method can be improved further if we know the bound on the best possible optimal solution making the branch and bound approach to be better than backtracking or brute force.</p><p>Time complexity<strong>: O(2n)</strong></p><p>In the worst case, the algorithm will generate all intermediate stages and all leaves. Therefore, the tree will be complete then the Time complexity = O (2n)</p><h4>CONCLUSION:</h4><p>Greedy algorithm seems to be the most efficient (time complexity) but it fails to give the correct optimal solution for the 0/1 knapsack problem. The Dynamic programming technique is also very efficient and the most favorable algorithm to solve the 0/1 knapsack problem in general but the memory utilized by this technique is the highest among the three approaches considered. Thus, the most efficient approach for the Knapsack Problem among the three is the Branch and Bound technique. It is simple and is easy to apply, and can be applied to solve the knapsack problem under all the circumstances.</p><p>The above-given article is a summary of what I learned about the 0/1 knapsack problem. Though it does not cover everything it can give one a basic idea about the problem and different methods to solve it. Hope this helps!</p><blockquote>Reference for this article — <a href="https://www.geeksforgeeks.org/0-1-knapsack-problem-dp-10/">https://www.geeksforgeeks.org/0-1-knapsack-problem-dp-10/</a> , Comparison and Analysis of Algorithms for the 0/1 Knapsack Problem</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f05d0900db8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/knapsack-problem-7f05d0900db8">Knapsack Problem</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hola Amigos!]]></title>
            <link>https://singhbhavini.medium.com/hola-amigos-e3e2a250b2a9?source=rss-e58e05b714ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3e2a250b2a9</guid>
            <category><![CDATA[hello]]></category>
            <category><![CDATA[first-blog-post]]></category>
            <category><![CDATA[first-post]]></category>
            <dc:creator><![CDATA[Bhavini Singh]]></dc:creator>
            <pubDate>Mon, 01 Feb 2021 04:21:21 GMT</pubDate>
            <atom:updated>2021-02-01T04:21:21.386Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone! My name is Bhavini Singh and am presently a sophomore at VIT, Vellore pursuing my undergrad in Computer Science with a specialization in Information Security. This is my first post here on medium and I want to keep it a simple one.</p><blockquote>It is so important to take time for yourself and find clarity. The most important relationship is the one you have with yourself — Diane Von Frustenberg</blockquote><p>The past year has been a year full of uncertainties but in many ways, it gave us the time to stop and reflect on our true passions and interests. Quarantining gave us the much needed “me time”. Personally, I discovered my interests in writing and dancing. And as a new year resolution, I decided to give these skills the rightful time that they deserve to develop despite my hectic schedule as an engineering student juggling between programming and assignments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MxK7W1ftCRiH4u8H" /><figcaption>Photo by <a href="https://unsplash.com/@miracleday?utm_source=medium&amp;utm_medium=referral">Elena Mozhvilo</a> n <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So here I am writing my first post, sharing my thoughts with the world. Other than writing and dancing I also love to read. I think that is what inspired my passion to write. I also enjoy coding and have been learning web development recently. I will be writing articles on any new technical skills that I learn or interesting facts that I come across and will try to explain them in the simplest of words. Stay tuned for interesting articles as I start my journey as a writer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3e2a250b2a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>