<?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 Palak on Medium]]></title>
        <description><![CDATA[Stories by Palak on Medium]]></description>
        <link>https://medium.com/@palak137?source=rss-7c54a0a690f9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_aRUaNyctqz4K4Oh2PT8MA.png</url>
            <title>Stories by Palak on Medium</title>
            <link>https://medium.com/@palak137?source=rss-7c54a0a690f9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 06:50:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@palak137/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[How HashMap Really Works? From Scratch to Java’s Implementation]]></title>
            <link>https://palak137.medium.com/how-hashmap-really-works-from-scratch-to-javas-implementation-4153443cf9e0?source=rss-7c54a0a690f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/4153443cf9e0</guid>
            <dc:creator><![CDATA[Palak]]></dc:creator>
            <pubDate>Sun, 22 Mar 2026 12:49:51 GMT</pubDate>
            <atom:updated>2026-03-22T13:03:03.510Z</atom:updated>
            <content:encoded><![CDATA[<h3>How HashMap Really Works ? From Scratch to Java’s Implementation</h3><p>Every Java developer uses HashMap daily. But how many know what happens when you call map.put(“apple”, 1)? Where does “apple” go? What if two keys end up at the same place? And why does the map sometimes slow down?</p><p>This article walks through building a HashMap from scratch using only arrays and linked lists the same primitives Java itself uses and then explains how Java’s real implementation evolves on top of it.</p><h3>The Core Problem: Where Do You Put the Data?</h3><p>A HashMap needs to answer one question extremely fast: <em>given a key, where is its value?</em> Arrays do this in O(1) if you know the index. The challenge is converting an arbitrary key like “apple” into a valid array index.</p><p>That’s the job of the hash function.</p><pre>private int hash(K key) {<br>    return Math.abs(key.hashCode() % buckets.length);<br>}<br><br>// &quot;apple&quot;.hashCode() → 93029210<br>// 93029210 % 16      → 10<br>// Math.abs(...)      → ensures positive index<br>// store &quot;apple&quot; in bucket[10]</pre><p>Three steps: convert the key to a number via hashCode(), squeeze it into the array bounds via % length, and guard against negative values via Math.abs().</p><h3>Collisions and Why We Need Linked Lists</h3><p>What happens when two different keys hash to the same index? This is called a collision, and it’s inevitable you can’t map infinite possible keys into 16 buckets without overlap.</p><blockquote>hash(“apple”) → 5 hash(“mango”) → 5 ← collision! bucket[5] = ??? can only hold one value</blockquote><p>We need a structure that can hold multiple key-value pairs at the same index. That structure is a linked list — specifically, each bucket stores the head of a chain.</p><blockquote>bucket[5] → [apple=1] → [mango=2] → [cat=3] → null ↑ insert here (head) → O(1)</blockquote><p>Inserting at the head of the list is O(1) no traversal, just pointer reassignment. That’s why a linked list beats an array here: arrays require shifting elements on insert, which is O(n).</p><blockquote>Why not ArrayList per bucket?</blockquote><blockquote>Inserting at the end of an ArrayList is amortized O(1), but insertions in the middle require O(n) shifting. More importantly, a linked list node only costs exactly one pointer there’s no wasted pre-allocated capacity like ArrayList carries.</blockquote><h3>The Node : Building Block of the Chain</h3><pre>private static class Node&lt;K, V&gt; {<br>    K key;<br>    V value;<br>    Node&lt;K, V&gt; next;   // pointer to next node in chain<br><br>    Node(K key, V value) {<br>        this.key   = key;<br>        this.value = value;<br>        this.next  = null;<br>    }<br>}</pre><p>Each node stores the key, the value, and a pointer to the next node. The key is stored alongside the value because multiple keys can share a bucket when searching, we need to compare keys to find the exact one.</p><h3>Core Operations</h3><h3>put: insert or update</h3><pre>public void put(K key, V value) {<br>    int index      = hash(key);<br>    Node&lt;K,V&gt; curr = buckets[index];<br>// walk the chain, update if key exists<br>    while (curr != null) {<br>        if (curr.key.equals(key)) {<br>            curr.value = value;<br>            return;<br>        }<br>        curr = curr.next;<br>    }<br>// not found, insert at head<br>    Node&lt;K,V&gt; newNode = new Node&lt;&gt;(key, value);<br>    newNode.next   = buckets[index];<br>    buckets[index] = newNode;<br>    size++;<br>if ((double) size / buckets.length &gt; LOAD_FACTOR)<br>        resize();<br>}</pre><h3>get : find by key</h3><pre>public V get(K key) {<br>    int index      = hash(key);<br>    Node&lt;K,V&gt; curr = buckets[index];<br>while (curr != null) {<br>        if (curr.key.equals(key)) return curr.value;<br>        curr = curr.next;<br>    }<br>    return null;<br>}</pre><h3>remove : unlink a node</h3><pre>public void remove(K key) {<br>    int index      = hash(key);<br>    Node&lt;K,V&gt; curr = buckets[index];<br>    Node&lt;K,V&gt; prev = null;    <br>while (curr != null) {<br>        if (curr.key.equals(key)) {<br>            if (prev == null) buckets[index] = curr.next; // remove head<br>            else              prev.next = curr.next;       // bypass node<br>            size--;<br>            return;<br>        }<br>        prev = curr;<br>        curr = curr.next;<br>    }<br>}</pre><h3>Resize : Keeping Performance Alive</h3><p>As more elements are inserted, chains grow longer and performance degrades toward O(n). To prevent this, the map resizes when the load factor threshold is crossed.</p><p>Load Factor = size / capacity 0.75 * 16 = 12 ← resize triggers at 12 elements Before: capacity=16, bucket[5] → [a] → [b] → [c] After: capacity=32, keys re-hashed with % 32 bucket[5] → [a] bucket[21] → [b] ← spread out now bucket[13] → [c]</p><pre>private void resize() {<br>    Node&lt;K,V&gt;[] old = buckets;<br>    buckets = new Node[old.length * 2];<br>    size    = 0;<br>for (Node&lt;K,V&gt; head : old) {<br>        Node&lt;K,V&gt; curr = head;<br>        while (curr != null) {<br>            put(curr.key, curr.value);  // rehash into new buckets<br>            curr = curr.next;<br>        }<br>    }<br>}</pre><p>Resize is O(n) but it happens so infrequently that the amortized cost per insert is still O(1). Think of it as paying a lump sum every now and then, rather than a premium every single time.</p><h3>What Java’s Real HashMap Does Differently</h3><p>Our scratch implementation follows the same architecture as Java’s java.util.HashMap , but Java’s version adds several important optimisations on top.</p><pre><br>Feature               Our Implementation          Java&#39;s HashMap<br>─────────────────────────────────────────────────────────────────────<br>Bucket structure      Linked list always          Linked list → Red-Black Tree<br>                                                  (chain ≥ 8)<br>Treeify threshold     -                           Converts at ≥ 8, reverts at ≤ 6<br>Hash spreading        hashCode() % n              XOR with upper 16 bits<br>Initial capacity      16                          16 (always power of 2)<br>Load factor           0.75                        0.75<br>Thread safety         None                        None (use ConcurrentHashMap)<br>Worst case lookup     O(n) per bucket             O(log n) after treeify</pre><h3>The Treeify Optimization (Java 8+)</h3><p>When a single bucket’s chain exceeds 8 nodes, Java converts it from a linked list to a Red-Black Tree. This changes worst-case lookup in that bucket from O(n) to O(log n).</p><blockquote>Chain length &lt; 8: bucket[5] → [a] → [b] → [c] → null O(n) lookup Chain length ≥ 8 → TREEIFY: bucket[5] → [d] / \ [b] [f] / \ / \ [a] [c] [e] [g] O(log n) lookup</blockquote><h3>Better Hash Spreading</h3><p>Java applies an additional mixing step to prevent clustering when keys have similar lower bits:</p><pre>// Java&#39;s actual hash() method<br>static final int hash(Object key) {<br>    int h;<br>    return (key == null) ? 0 : (h = key.hashCode()) ^ (h &gt;&gt;&gt; 16);<br>}<br>// XORs high 16 bits into low 16 bits<br>// spreads entropy more evenly across all buckets</pre><h3>Key Takeaways</h3><ul><li>hashCode() decides which bucket a key lands in. equals() identifies the exact key within that bucket’s chain. If either is broken, the map breaks.</li><li>Linked lists handle collisions in O(1) insert time, with no wasted space. Java upgrades long chains to Red-Black Trees for O(log n) worst-case.</li><li>Resize keeps chains short. Doubling capacity and rehashing all keys is O(n) but amortized O(1) per insert a classic space-time tradeoff.</li><li>Java’s HashMap uses the exact same array-of-linked-lists architecture we built here, layered with better hash spreading, treeification, and decades of JVM optimisation.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4153443cf9e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fuchsia — the 21st-century operating system]]></title>
            <link>https://palak137.medium.com/fuchsia-the-21st-century-operating-system-9d4db439257a?source=rss-7c54a0a690f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d4db439257a</guid>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[future-technology]]></category>
            <category><![CDATA[os]]></category>
            <dc:creator><![CDATA[Palak]]></dc:creator>
            <pubDate>Thu, 01 May 2025 09:08:06 GMT</pubDate>
            <atom:updated>2025-05-01T09:08:06.082Z</atom:updated>
            <content:encoded><![CDATA[<h3>Fuchsia — the 21st-century operating system</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/0*5reQvTOW03AGyCIh" /></figure><p><strong>Many of us at least once in our lives think of having a smart home! Where you can control activities with your command, </strong>Google has tried to make this possible with its NEST-HUB!</p><p>Nest-HUB is smart google assistance that helps to synchronize our command into reality. You can perform various tasks such as turning the lights off, playing music, etc with your voice or hand gestures. This made the dream for a smart house into reality.</p><h3><strong>Now from where Fuchsia comes into the picture?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/327/0*pYBiETymCUugDLR2" /></figure><p>Fuchsia is the operating system powering Nest Hub devices. Developed by Google, it stands out as a powerful yet visually appealing OS. Initially, Google used Cast OS for the Nest Hub, but eventually recognized the need for a faster and more elegant system with similar functionality — this led to the creation of Fuchsia.</p><p>Designed for optimal performance and efficiency across platforms, Fuchsia supports multiple CPU architectures and is intended to run on a wide range of devices, including laptops and PCs. Google is also extending Fuchsia’s reach to IoT and smart home devices to enhance ecosystem compatibility.</p><p>What sets Fuchsia apart is its foundation: it’s built from the ground up on a custom microkernel called Zircon, unlike many other universal operating systems such as those based on Linux. This design choice allows for a smaller, faster, and more secure kernel.</p><p>Fuchsia is an open-source operating system, made using various languages such as<br>A. C++</p><p>B. DART</p><p>C. GOLANG</p><p>D. PYTHON</p><p>E. FIDL</p><p>It would be interesting to see how google fuchsia powers the existing android operating system. As said by google it can be run on google chromeOS very efficiently, we might get to see the fuchsia in the next pixel book or chrome book.</p><p>Google’s conventional Operating system based on Flutter uses microchips to reduce load, and increase efficiency. It does not come with pre-installed files that increase load size, Unlike Linux. Fuchsia is portable and is highly flexible for developers to build software from scratch.</p><p>The core values for the fuchsia are:</p><ol><li>Secure</li><li>Updatable</li><li>Inclusive</li><li>Pragmatic</li></ol><p>These are the values that make fuchsia way ahead of its alternatives.</p><h3><strong>Flutter with fuchsia -</strong></h3><p>Due to its dependency on DART, which is majorly used in a flutter, it has the power to revolutionize it. It helps us to know that flutter is not only used for mobile apps, instead but it can also be used for web apps, operating systems, embedded systems, everywhere.</p><p>As we all know, Flutter already works smoothly on Android and iOS.</p><p>Now knowing that Fuchsia supports Dart, it is safe to assume that Flutter will gel with Fuchsia.</p><p>What makes Fuchsia so unique is the ability to run on any CPU architecture. Fuchsia has the ability to change how we interact with our devices, as if they use the same OS, creating its own ecosystem is highly possible. There will definitely be some benefits over the android such as improved overall performance, battery life, and it might possibly even run onGoogle’s custom chips they have been rumored to be experimenting with.</p><h3><strong>Conclusion -</strong></h3><p>As earlier said it is in the developing stage, it would be having numerous changes to completely adapt to a new operating system instead of Android, ChromeOS, etc.</p><p>Google’s vision for the Fuchsia:</p><ul><li><strong>Long-Term Vision:</strong> Fuchsia represents Google’s vision for an operating system that can evolve with future technology trends.</li><li><strong>Unified Ecosystem:</strong> Instead of maintaining separate OSes for different devices, Google aims to create a more <strong>cohesive experience</strong> across its hardware ecosystem.</li><li><strong>Improved Update Mechanism:</strong> Fuchsia supports <strong>system updates at the component level</strong>, making it more responsive to security fixes and feature rollouts.</li></ul><p>All the 2 releases are made public by google but still, we have to wait for its official announcements. This surely made the future of operating systems bright and developer-friendly.</p><h3><strong>HAPPY READING!!</strong></h3><p>To know more check out the <a href="https://fuchsia.dev/fuchsia-src">documentation</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d4db439257a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Goldman Sachs interview experience]]></title>
            <link>https://interviewnoodle.com/goldman-sachs-interview-experience-147d61fea94b?source=rss-7c54a0a690f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/147d61fea94b</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[summer-internships]]></category>
            <category><![CDATA[happy]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[goldman-sachs]]></category>
            <dc:creator><![CDATA[Palak]]></dc:creator>
            <pubDate>Mon, 27 Dec 2021 06:22:47 GMT</pubDate>
            <atom:updated>2024-01-24T09:25:46.113Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/504/0*urhhMENZEGLE7Dcn" /></figure><p>I have participated through an off-campus drive and applied through the official portal. GS sends the first online test link to everyone until and unless you have filled the form correctly, so first fill the form very carefully.</p><p><strong>My Background :</strong></p><p>I was not a competitive programmer, rather I did web development and explored more technologies. Before beginning the only advice I give is to do whatever you like, just give your best and master it, whether it’s competitive programming or development or ML.</p><h3>Online Assessment :</h3><p>This test was conducted on the Hackerrank platform, it was divided into 6 sections which contained a total of 66 questions with an overall time limit of 90 minutes. There was video proctoring, and changing sections were allowed. The sections were-</p><ol><li>Numerical Computations — 8 questions</li><li>Numerical Reasoning — 12 questions</li><li>Comprehension — 10 questions</li><li>Abstract Reasoning — 12 questions</li><li>Diagrammatic Reasoning — 12 questions</li><li>Logical Reasoning — 12 questions</li></ol><p>This also has to mark a scheme of +5 on correct and -2 on incorrect.</p><p>In this round, most of the students are screened out. So it is the most important round among all. I have attempted 45+ questions.</p><h3>Online assessment :</h3><p>This test was again on Hackerrank and you can only attempt one section at a time ie you can not switch between the sections.</p><ol><li>Programming ( 30 minutes given ) — one Easy coding problem and one medium coding problem.</li><li>Quantitative Aptitude ( 45 minutes given ) — 11 Multiple choice questions related to concepts of mathematics. They were really hard.</li><li>Computer Science ( 20 minutes given ) — 7 Multiple choice questions related to concepts of Computer Science (OOPS, DBMS, OS).</li><li>Subjective ( 15 minutes given ) — Two paragraph-based behavioral subjective questions.</li></ol><p><strong>Tip: </strong>Try to solve the easy coding question first and completely and don’t randomly guess in the MCQ sections.</p><h3><strong>Technical interview 1</strong></h3><p>The interview was conducted on zoom (recommend checking your network, mic, and camera earlier). My interview started with an introduction and then a discussion of my projects, internships, and OSS club. Then he shared the code-pair link for the coding questions. The first question was to find the square root of a number without using the in-built function and also up to the three decimal places with precision. This was an easy question for me and I was able to answer it very effectively, explaining brute force and time complexities. Then he moved to the second question ie. to find the maximum sum of three numbers in the array such that i&lt;j&lt;k. This was a tricky question hence I took little time and was able to solve it too.</p><p>The interview round for Goldman was quite easy but the process of filtering students in earlier rounds made it difficult to reach.</p><p>I was not asked any puzzles but I recommend reading puzzles as well, this is something the interviewer asks in the interview.</p><p>After my first round, I had to wait for a few minutes and my 2nd round started.</p><h3>Technical interview 2</h3><p>This was the shortest interview, it lasted for only 15 mins. Initially, I was not aware that it was sent to the HR round directly after my first interview.</p><p>The interview started with an introduction and then the interviewer asked me about my favorite subjects in the curriculum. After this, we discussed one of my projects, and the interview ended on a very good note. The interviewer was very happy with me.</p><p>After my 2 rounds, I was not sure whether I will be selected or not, as my batch mates had gone through 4 interview rounds. So I did not have any hope of getting the selection mail but when I got the mail I was on cloud nine.</p><h3><strong>Some life-changing tips:</strong></h3><ol><li>The first and second online round was major round for eliminations so prepare seriously for it.</li><li>Have faith in your practice and skills. As it is the most important thing throughout the whole process.</li><li>Do have some good projects as it gives you an edge over the other candidates.</li><li>Be honest with your answers and don’t fake skills, projects in your resume.</li></ol><p><strong>Conclusion — Received an offer on 16 December 2021( tamatar 🍅 fodde gaye teh sirr phe…. )❤</strong></p><p>PS: Feel free to contact me on <a href="https://www.linkedin.com/in/kumaripalak/"><em>LinkedIn</em></a>, <a href="https://github.com/Palak-137"><em>Github</em></a>, <a href="https://www.instagram.com/poisoned.smile_/"><em>Instagram</em></a></p><h3>InterviewNoodle Community</h3><ul><li>👏 Please clap for the story and follow the writer👉</li><li>📰 View more content on <a href="https://medium.com/interviewnoodle">Coding and System Design Interviews</a></li><li>🔔 Subscribe to the InterviewNoodle <a href="https://www.designgurus.io/interview-noodle-page">Newsletter</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=147d61fea94b" width="1" height="1" alt=""><hr><p><a href="https://interviewnoodle.com/goldman-sachs-interview-experience-147d61fea94b">Goldman Sachs interview experience</a> was originally published in <a href="https://interviewnoodle.com/">InterviewNoodle</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon interview experience]]></title>
            <link>https://palak137.medium.com/amazon-interview-experience-9b57c8d0be5b?source=rss-7c54a0a690f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b57c8d0be5b</guid>
            <category><![CDATA[women]]></category>
            <category><![CDATA[interview-experience]]></category>
            <category><![CDATA[wowenintech]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[intern]]></category>
            <dc:creator><![CDATA[Palak]]></dc:creator>
            <pubDate>Fri, 24 Dec 2021 07:10:35 GMT</pubDate>
            <atom:updated>2022-04-21T13:51:46.493Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*6QHTrtP5J9PljgvA.gif" /></figure><p>I will try to give you insights into my interview experience as well as my preparation strategy. So, I had applied through the amazon-wow program. It is a program to hire female candidates only. In this program, for final year grads, there are 2–3 interview rounds whereas for 3rd-year students there is only one. Feeling Lucky as a 3rd year.</p><p><strong>Background:</strong> I have been introduced to coding in my first year by our seniors. it fascinates me a lot. As I was more inclined towards the dev side, I did not do competitive programming. Although I have participated in hackathons and won too. I am proficient in the MERN stack and had done a couple of internships too.</p><p>Although I had made a scored of 2270 on Hackerrank and solved 300+ problems on code forces, I don&#39;t have that confidence in DSA. To gain that confidence I studied vigorously for 3 months.</p><p>The only thing that helped me in the process is my earlier hard work of doing questions on regular basis. With regular practice you can learn anything, so even when you don&#39;t see any progress, don&#39;t give up. It&#39;s the learning curve upon which each one has to pass.</p><h3><strong>Online assessment round 1 :</strong></h3><p>Duration: 1.5 hours</p><p>It had 1 coding question of medium level and 8 other MCQ sections which included, DBMS, Shell scripting, project management, Data structure and algorithms, pseudo-code, object-oriented programming language etc. So it was an easy peasy round.</p><h3><strong>Online assessment round 2</strong></h3><p>Duration: 1.5 hours</p><p>It had 2 coding questions and 6 other MCQ sections including behavioral questions. The 1st coding question was easy and 2nd was medium. The other section was somewhat similar to the previous one. Rocking it again as always.</p><p><strong>Tip</strong>: focus on coding questions more and try to answer every question as there is no negative marking.</p><p>After the long wait and delay I finally got my interview scheduled on 25th Oct 2021, so don’t panic here, try to contact people who have finished their interview as it helps you to know the hot topic for your interview. I did the same, I reached out to every person on LinkedIn to know about their experience and topic.</p><h3><strong>Technical interview round :</strong></h3><p>Duration: 1 hour</p><p>Platform: amazon chime</p><p>My interview starts without the intro and other formalities, the interviewer comes and directly shares the question. The first question was to find the mean of the first 3 numbers in the running stream of numbers. I was able to answer it in a very decent way, by first explaining the brute force then the optimal solution along with explaining the time complexity. After this, my interview got some chill and we moved to my projects and internship experiences. As he was the tester, he has very good skills to find bugs, hence our discussion lasted for a long period of time. Now to cover the time he asked me another standard question to reverse the doubly linked list. This time I was able to write code in 2 mins and also explain to him line by line.</p><p>The interviewer was very happy with me and it ended on a happy note. At that moment I know I will be getting the selection mail soon.</p><h3>Some Life-Changing Tips :</h3><ol><li>Make good projects, the one thing which helped me in my interviews is the projects. They are different and hosted on platforms like Heroku, GitHub, etc. It helps the interviewer to see the result immediately rather than code.</li><li>To complete at least standard DSA questions. I suggest the <a href="https://takeuforward.org/interviews/strivers-sde-sheet-top-coding-interview-problems/"><em>striver sheet</em></a><em> </em>in order to get the questions in one place.</li><li>Practice and being consistent is the key to achieving anything. To solve at least 1–2 questions daily in order to master the coding interviews.</li><li>Use Leetcode questions and filter effectively, it will help you a lot and you can also mention it in your resume</li><li>Don’t panic if you are getting a delay in reply from the company side instead utilize it to practice.</li></ol><p><strong>Conclusion:</strong> I got my selection mail on 15 December 2021 ❤</p><p><strong>PS:</strong> Feel free to contact me on <a href="https://www.linkedin.com/in/kumaripalak/"><em>LinkedIn</em></a>, <a href="https://github.com/Palak-137"><em>Github</em></a>, <a href="https://www.instagram.com/poisoned.smile_/"><em>Instagram</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b57c8d0be5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explore yourself ❤]]></title>
            <link>https://palak137.medium.com/explore-yourself-2c1e91c6ec38?source=rss-7c54a0a690f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c1e91c6ec38</guid>
            <dc:creator><![CDATA[Palak]]></dc:creator>
            <pubDate>Sat, 15 May 2021 13:09:37 GMT</pubDate>
            <atom:updated>2021-05-15T13:09:37.893Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*UClyKNnz8lwKExxuPUUvWw.jpeg" /></figure><p>From childhood, we were asked what we want to be in life and we deliberately reply doctor, engineer, painter, pilot. But have you ever thought about what you will do after becoming what you want to? is that really all you want?</p><p>The real goal for life is being happy and positive in all the circumstance. Your happiness parameter should not be any other materialistic thing. we should be more focused on how we could able to cherish life, else we only chase goals.</p><p><strong>Enjoy the process of being happy:</strong></p><p>Your journey should matter more than your success or failure. In the process of chasing we often forget this. Suppose you are working on a project with the team. You work, laugh, share knowledge, spend time together. But that product ends up not being market-ready. Felt a little disheartened? but instead of that, you should cherish the journey of the product. The learning you made, the network you have created. Enjoy the journey, Success lies in the journey, not in the end goals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*mbkEgtZtUqk0Z_-UlrQBfQ.jpeg" /></figure><p><strong>Follow your heart not others footstep:</strong></p><p>As a student, I have faced this many times that our seniors are doing this, and getting successful. So I also want to do it and hence think if I do these certain things then only I could be successful. Almost everyone among us does idealize success by the defined path. Let me tell you the story, Sundar Pichai one of the known face, and Gauranga Prabhu the monk who earn in millions. both are from the same batch, in the same engineering college. But both have chosen a different path for success and both are successful in their lives, both are satisfied in their life. This live example taught us that success does not have a defined way. So before following some other footsteps remember this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*9F0LxfD7o1awh4t0rzbQUw.png" /></figure><p><strong>It&#39;s never too late to start over :</strong></p><p>The first and most challenging step towards the goal is to get started. There is no specific time to start anything, the hard work is the key to get yourself at the same level. Some became rich in their 20s but some in their 50s. it&#39;s not that time matters it&#39;s achieving the goal that matters. The secret of getting ahead is getting started.</p><p><strong>Failure is learning not the end:</strong></p><p>Failure is proof of trying. It always teaches you something in terms of professional, personal anything. Life has lots of opportunities to grab so don’t stop in the middle, keep going and you will surely land on the moon, maybe not on Saturn’s moon but on Earth’s moons. Having small failure is always an asset to you, it gives you a list of mistakes you did and an aspiring story for life. Some bad incidence does not lead to a bad story, sometimes its leads to the best story. Make mistakes, keep learning, keep moving. Happiness often sneaks through the door you didn’t know you left open.</p><p><strong>Conclusion:</strong></p><p>Life’s too short to waste your time doing things that don’t light your fire. If you don’t enjoy what you’re doing or aren’t having a lot of fun, despite the fact that you’re making a lot of money or rubbing shoulders with the rich and famous then it’s time to move on to something that does make you happy. Make your life a masterpiece, don’t let it ruin by small hurdles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c1e91c6ec38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java doesn’t use pointers?? Then what does it use??]]></title>
            <link>https://palak137.medium.com/java-doesnt-use-pointers-then-what-does-it-use-1d1869da8c02?source=rss-7c54a0a690f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d1869da8c02</guid>
            <dc:creator><![CDATA[Palak]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 06:01:35 GMT</pubDate>
            <atom:updated>2021-01-05T06:36:24.931Z</atom:updated>
            <content:encoded><![CDATA[<p>wait! what java doesn’t have pointers???</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*RB9jSsIFI-mcv65yT6qt2Q.jpeg" /></figure><p>YES!! you heard it right!!!</p><p>Pointers are a concept of C++/C, java doesn’t have pointers. Now the question arises how does java work??</p><p>Java has references instead of pointers. But what is the need to introduce the concept of reference?</p><h3><strong>Disadvantages of using pointers -</strong></h3><ol><li>Memory access by the pointer is fundamentally unsafe. As if the pointers are available then a hacker can easily reach the main memory and can harm the application.</li><li>Pointers causes a memory leak. Allocating and deallocating the pointers causes the formation of the array, quickly and immediately freeing the memory when no longer required. However, it can cause a memory leak when you were assigning a value to a pointer, WITHOUT freeing the previous memory. Garbage collection is your responsibility.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*cwXyFCqaT904XlhQJsWmZA.jpeg" /><figcaption>Meme</figcaption></figure><h3><strong>The difference between pointers and references</strong></h3><p>on the surface, both pointers, and references look similar. But they are not.</p><p>A pointer is a variable that stores the address of another variable.</p><p>A reference is a variable that refers to another variable.</p><pre>int i = 3;<br>int *ptr = &amp;i;<br>int &amp;ref = i;</pre><p>In the above code in the first line, we had declared the variable and then define the pointer and reference pointing to it.</p><p>To declare the pointer u must use * (in c++) where is reference does not have any constrain.</p><p>One of the major differences that the pointer can be reassigned whereas the reference can not be reassigned. What does that mean lets see an example-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*9AQn-aHthU6Af5aq6nvkNQ.png" /></figure><p>The above code is written in c++. As u can see first we assign the value to pointer and reference and then on changing the value of pointer or variable a, the reference does not change. This allows us to say that reassigning the reference ie the address of the variable does not change.</p><p>Now extending the above code —</p><pre>// changing the pointer ie pointing to b</pre><pre>ap = &amp;b;</pre><pre>cout&lt;&lt;&quot; address of ap: &quot;&lt;&lt;ap&lt;&lt;endl;</pre><pre>cout&lt;&lt;&quot; value of ap: &quot;&lt;&lt;*ap&lt;&lt;endl;</pre><p>Yes, U guess right now the reference will also change. Let&#39;s understand this by an example. Suppose a person as a variable on changing your room your home address won’t change ie. changing the value of variable won’t change the reference. but on changing the house your address will be changed similarly on changing the variable your pointer address ie reference will be changed.</p><p>Concluding as far, we have learned the need for reference instead of pointers. the basic difference between pointers and reference and some important points to remeber.</p><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d1869da8c02" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>