<?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 Singhriddhi on Medium]]></title>
        <description><![CDATA[Stories by Singhriddhi on Medium]]></description>
        <link>https://medium.com/@singhriddhi075?source=rss-3fa1c4b08971------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UB8Pe4P-sigWP5mNhd3nJA.jpeg</url>
            <title>Stories by Singhriddhi on Medium</title>
            <link>https://medium.com/@singhriddhi075?source=rss-3fa1c4b08971------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:40:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@singhriddhi075/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[GitHub Copilot’s New Token-Based Billing: What Developers Need to Know]]></title>
            <link>https://medium.com/@singhriddhi075/github-copilots-new-token-based-billing-what-developers-need-to-know-0b783d6f3f94?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b783d6f3f94</guid>
            <category><![CDATA[github-copilot]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Wed, 03 Jun 2026 07:46:00 GMT</pubDate>
            <atom:updated>2026-06-03T07:46:00.575Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FWfD99drOn6bFz64g_kXdw.png" /></figure><p>do you think token-based pricing is the future of AI tools?</p><p>GitHub Copilot has officially moved from flat pricing to token-based billing as of June 1, 2026.</p><p>At first glance, this may look like a simple pricing update. But it actually reflects a much bigger change happening across the AI industry.</p><h3>The End of Unlimited AI</h3><p>For years, GitHub Copilot worked like a subscription service. You paid a fixed monthly fee and could use it as much as you wanted.</p><p>The model was simple:</p><ul><li>Copilot Pro: $10/month</li><li>Copilot Pro+: $39/month</li><li>Business and Enterprise plans with fixed pricing</li></ul><p>Most developers never had to think about how much AI they were consuming.</p><p>That has now changed.</p><p>GitHub has introduced AI Credits, where usage is measured based on tokens consumed by AI models. In simple terms, you now pay based on how much AI compute you use.</p><p>The more you use advanced models and long AI sessions, the more credits you consume.</p><h3>What Exactly Is a Token?</h3><p>A token is a small piece of text processed by an AI model.</p><p>Every interaction with AI consumes tokens:</p><ul><li>Your prompt uses tokens</li><li>The AI’s response uses tokens</li><li>The conversation history and context also use tokens</li></ul><p>Previously, these costs were hidden behind a subscription fee.</p><p>Now they are visible.</p><h3>Why Did GitHub Make This Change?</h3><p>The answer is simple: AI has become much more expensive.</p><p>When Copilot launched in 2021, it mainly provided code completions and suggestions. Those requests were relatively cheap.</p><p>Today’s AI tools are very different.</p><p>Modern coding assistants can:</p><ul><li>Analyze entire repositories</li><li>Refactor multiple files</li><li>Plan implementation steps</li><li>Run long agent-based workflows</li><li>Maintain large contexts</li></ul><p>These capabilities require significantly more computing power and therefore cost more money.</p><p>A flat-rate pricing model becomes difficult to sustain when usage varies dramatically between users.</p><h3>The Reality Behind AI Costs</h3><p>One example highlights the challenge.</p><p>A developer reportedly used billions of tokens through AI coding tools over several months. The estimated compute cost was worth thousands of dollars, while the subscription fee paid was only a fraction of that amount.</p><p>This gap shows that many AI services have been heavily subsidized.</p><p>For years, companies absorbed these costs to grow their user base.</p><p>Now the industry is gradually moving toward pricing models that better reflect actual usage.</p><h3>This Isn’t Just About GitHub</h3><p>GitHub is not the only company making this shift.</p><p>Several AI coding platforms have already introduced:</p><ul><li>Usage credits</li><li>Token-based billing</li><li>Monthly allowances</li><li>Overage charges</li></ul><p>The pattern is becoming clear across the industry.</p><p>AI providers are moving away from unlimited usage and toward pay-for-what-you-use models.</p><p>Why?</p><p>Because AI inference has a real cost every single time a model processes a request.</p><p>Unlike traditional software, AI doesn’t become almost free after it’s built. Every prompt requires computing resources, energy, and specialized hardware.</p><h3>The Bigger Picture</h3><p>Three major trends are driving this change:</p><h3>1. AI Compute Is Expensive</h3><p>Every token processed requires GPUs, electricity, and infrastructure.</p><p>These costs do not disappear as usage grows.</p><h3>2. AI Tools Are Becoming More Powerful</h3><p>The more capable an AI assistant becomes, the more compute it consumes.</p><p>Better results often mean higher costs.</p><h3>3. The Subsidy Era Is Ending</h3><p>Many AI companies spent aggressively to attract users and gain market share.</p><p>Now they are focusing on sustainable business models.</p><p>That means pricing is starting to reflect actual costs.</p><h3>What Developers Should Do</h3><p>Instead of worrying about the change, developers should adapt.</p><h3>Monitor Your Usage</h3><p>Check your AI credit consumption regularly.</p><p>Small daily habits can significantly affect monthly costs.</p><h3>Use the Right Model</h3><p>Not every task requires the most powerful model.</p><p>Use premium models for complex architecture decisions and difficult problems.</p><p>Use smaller models for routine tasks like documentation, code formatting, or commit messages.</p><h3>Measure ROI</h3><p>If AI saves hours of work every week, the cost may be completely justified.</p><p>Focus on the value it creates rather than just the price.</p><h3>Final Thoughts</h3><p>GitHub Copilot hasn’t simply changed its pricing.</p><p>It has exposed the real economics of AI.</p><p>For years, many of us enjoyed heavily subsidized AI tools without seeing the true cost behind them.</p><p>Token-based billing makes that cost visible.</p><p>And GitHub’s move is likely just the beginning.</p><p>As AI becomes a core part of software development, understanding tokens, credits, and usage costs will become as important as understanding cloud costs today.</p><p>The age of “unlimited AI” is fading.</p><p>The age of paying for actual AI consumption has begun.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b783d6f3f94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 10]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-10-0b08de0da064?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b08de0da064</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Tue, 26 May 2026 13:31:00 GMT</pubDate>
            <atom:updated>2026-05-26T13:31:00.620Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Java Backend Developer Interview Questions (3–6 Yrs)</p><p>JVM &amp; Memory<br> • Explain JVM memory areas in detail<br> • Difference between Heap and Metaspace<br> • How does Garbage Collection work internally?<br> • OutOfMemoryError vs StackOverflowError — real scenarios<br> • How does ClassLoader delegation model work?</p><p>🔹 Multithreading &amp; Concurrency<br> • What happens at CPU level when we use volatile?<br> • Difference between synchronized and ReentrantLock<br> • Why wait() and notify() must be called inside synchronized block<br> • Explain Java Memory Model and happens-before relationship<br> • How does ThreadPoolExecutor work internally?</p><p>🔹 Collections <br> • Internal working of HashMap in Java 8+<br> • What happens when HashMap resizes?<br> • HashMap vs ConcurrentHashMap — internal differences<br> • How equals() and hashCode() affect HashMap<br> • Why ArrayList is not thread-safe?</p><p>🔹 OOPS &amp; Design<br> • How runtime polymorphism works internally<br> • Can we override static or private methods? Why?<br> • Composition vs Inheritance — real project usage</p><p>🔹 Exception Handling &amp; Immutability<br> • Checked vs Unchecked exceptions — when to use what<br> • What happens if exception occurs in finally block?<br> • How to create a truly immutable class<br> • Why String is immutable? How String pool works?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b08de0da064" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 9]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-9-3a2c6469b5ef?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a2c6469b5ef</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Sat, 23 May 2026 13:31:00 GMT</pubDate>
            <atom:updated>2026-05-23T13:31:00.585Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Java Backend Developer Interview Questions (3–6 Yrs)</p><p>☕ Core Java (Foundations Matter)<br>▪ What is OOP and its principles?<br> ▪ Abstract class vs Interface<br> ▪ Immutable class — why &amp; how to create?<br> ▪ == vs equals()<br> ▪ hashCode() — why is it important?<br> ▪ Comparable vs Comparator<br> ▪ Aggregation vs Composition<br> ▪ final vs finally vs finalize<br> ▪ volatile keyword — where &amp; why used?<br> ▪ sleep() vs wait() vs notify()<br> ▪ ClassLoader and its types<br> ▪ ArrayList vs LinkedList (time complexity)<br>⚙️ Java 8 &amp; Concurrency (Frequently Asked)<br>▪ Java 8 features<br> ▪ Stream API — why introduced?<br> ▪ map() vs flatMap()<br> ▪ Optional — what problem does it solve?<br> ▪ Future vs CompletableFuture<br> ▪ How CompletableFuture works internally<br> ▪ Synchronous vs Asynchronous execution<br>🌱 Spring / Spring Boot (Interview Favorite)<br>▪ What is Spring Boot?<br> ▪ What does <a href="http://twitter.com/SpringBootApplicatio">@SpringBootApplicatio</a>n do internally?<br> ▪ Stereotype annotations<br> ▪ <a href="http://twitter.com/Controller">@Controller</a> vs <a href="http://twitter.com/RestController">@RestController</a><br> ▪ Spring MVC flow (behind the scenes)<br> ▪ DispatcherServlet role<br> ▪ Exception handling in Spring Boot<br> ▪ <a href="http://twitter.com/ControllerAdvice">@ControllerAdvice</a> vs <a href="http://twitter.com/ExceptionHandler">@ExceptionHandler</a><br> ▪ Bean scopes<br> ▪ Dependency Injection — why it matters<br>🗄️ JPA / Hibernate (Real Project Questions)<br>▪ What is JPA?<br> ▪ JPA vs Hibernate<br> ▪ EntityManager role<br> ▪ save() vs persist()<br> ▪ <a href="http://twitter.com/Id">@Id</a> &amp; <a href="http://twitter.com/GeneratedValue">@GeneratedValue</a><br> ▪ delete vs truncate vs drop<br> ▪ How transactions work in JPA<br> ▪ Multiple database configuration<br>🌐 Microservices (High-Level + Practical)<br>▪ What is Microservice architecture?<br> ▪ Benefits &amp; challenges<br> ▪ Service Registry<br> ▪ Feign vs RestTemplate vs WebClient<br> ▪ Feign vs Kafka<br> ▪ API Gateway role<br> ▪ Rate limiting strategies<br> ▪ Circuit Breaker<br> ▪ Saga pattern<br> ▪ Choreography vs Orchestration<br> ▪ 2PC — why it’s not preferred<br>📨 Kafka / Messaging Systems<br>▪ What is Kafka?<br> ▪ Producer–Consumer flow<br> ▪ Topic, Partition, Offset<br> ▪ Fault tolerance in Kafka<br> ▪ Kafka vs RabbitMQ<br>🧠 Database / System Design Basics<br>▪ CAP theorem<br> ▪ ACID properties<br> ▪ SQL join types<br> ▪ Index types &amp; when to use them<br> ▪ How Redis works internally<br> ▪ What happens if Redis goes down?<br>🧩 Design Patterns (Concept + Use Case)<br>▪ Singleton pattern<br> ▪ How to break Singleton<br> ▪ Builder pattern<br> ▪ Proxy pattern</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a2c6469b5ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 8]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-8-f2e82091a03c?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2e82091a03c</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Tue, 19 May 2026 13:31:00 GMT</pubDate>
            <atom:updated>2026-05-19T13:31:00.825Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Java Backend Developer Interview Questions (3–6 Yrs)</p><p>🔹 Java 8 &amp; Stream API<br>What is idempotency in REST APIs? Which HTTP methods are idempotent and why?<br>Explain Stream API in Java 8. How is it different from Collections?<br>How would you group objects by category and calculate aggregated values using Stream API?<br>Difference between map() and flatMap() with real-world examples.<br>How does Collectors.groupingBy() work internally?<br>Difference between reduce() and collect().<br>🔹 Hibernate / JPA<br>Explain the lifecycle states of a Hibernate entity.<br>Difference between Transient, Persistent, Detached, and Removed states.<br>Difference between merge() and update() in Hibernate.<br>What is dirty checking, and when does Hibernate trigger database updates?<br>What issues can occur with detached entities in web applications?<br>🔹 Immutable Class (Deep Dive)<br>What is an immutable class in Java?<br>How do you create a custom immutable class?<br>Why should fields be declared as final in an immutable class?<br>What happens if an immutable class contains a mutable object reference?<br>Why are immutable objects thread-safe by default?<br>🔹 equals() &amp; hashCode() (Very Important 🔥)<br>Why must equals() and hashCode() be overridden together?<br>What problems occur if hashCode() is not overridden properly?<br>How does HashMap internally use hashCode() and equals()?<br>What happens if fields used in hashCode() are mutable?<br>Can two unequal objects have the same hashCode()?<br>🔹 Tricky Interview Questions ⭐<br>Is String truly immutable? Explain with reasoning.<br>Why is BigDecimal.equals() risky in financial applications?<br>Can a HashMap contain a mutable key? What can go wrong?<br>What happens if you modify an object after putting it into a HashSet?<br>Why does Hibernate recommend implementing equals() and hashCode() based on business keys instead of database IDs?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2e82091a03c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 7]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-7-28bb0e88b002?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/28bb0e88b002</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Wed, 13 May 2026 13:31:00 GMT</pubDate>
            <atom:updated>2026-05-13T13:31:00.656Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Java Backend Developer Interview Questions (3–6 Yrs)</p><p>🔹 Dynamic Programming (Edit Distance)<br>• Minimum operations (insert, delete, replace) to convert one string into another<br>• Example: “horse” → “ros” → Output: 3<br>• Time Complexity: O(m × n)<br>🔹 Java Collections &amp; Iterators<br>• Modifying a collection while iterating<br>• Why ConcurrentModificationException occurs<br>• Iterator.remove() vs List.remove()<br>• Index-based vs value-based removal in ArrayList<br>🔹 Multithreading &amp; Synchronization<br>• Object-level locking using synchronized<br>• What happens when a thread holds a lock indefinitely<br>• Why other threads get blocked even with ExecutorService<br>🔹 Exception Handling &amp; Method Overriding<br>• Rules for checked exceptions in method overriding<br>• Why child methods can’t throw broader exceptions<br>• try–catch–finally execution order<br>• finally block execution even with return</p><p>Real-time interview question</p><p>Q) You have given an input array = {12, 3, 4, 1, 6, 9}, target sum = 24, output (3,9,12) 3 + 9 +12 = 24</p><p>Q) Find the 3rd largest salary in SQL. : Select SALARY from employee order by salary desc limit 1 offset 2</p><p>Q)String str = “Test Java With Java 8”;<br>Check if there is any duplicate word inside the string using the stream api.</p><p>Q) What is the use of default and static methods in an interface?</p><p>Q) Record class vs Lombok, which one is preferable?</p><p>Q) Put request idempotent or not?</p><p>Q)Comparator vs comparable: How to implement?</p><p>Q) What is the CQRS design pattern when used?</p><p>Q) What is bean scope in Spring Boot? How many types?</p><p>Q) Can we overload and override the final method?</p><p>Q) if you api is getting an error on production, what are the steps follow to resolve?</p><p>Q) Difference between hashtable, hashMap, concurrentHashMap, which scenario, which one is used?</p><p>Q) Set&lt;Employee&gt; empSet = new HashSet&lt;&gt;(); empSet.add(new Employee(1, “Ram”, “Bengaluru”)); empSet.add(new Employee(1, “Ram”, “Bengaluru”)); System.out.println(empSet.size());</p><p>Q) String s = null;<br>String s1 = “Java”;<br>System.out.println(s +s1);</p><p>Q) Map vs flatMap which scenarios flatmap used in real time?</p><p>Q) what is Accumulators in stream API?</p><p>Q) what collectors.groupBy() function do?</p><p>1. Your application runs perfectly on local, but fails after deployment — what do you verify first?<br> <br>2. An API is fast in dev but painfully slow in prod — how do you trace the root cause?<br> <br>3. You updated application.properties, but nothing changed — what went wrong?<br> <br>4. Under heavy traffic, your service starts crashing — what are the likely bottlenecks?<br> <br>5. Spring complains about multiple beans of the same type — how do you resolve it cleanly?<br> <br>6. Your API randomly returns 401 even though logic hasn’t changed — where do you look?<br> <br>7. Database connections are getting exhausted — how do you detect and fix this?<br> <br>8. One microservice goes down and others start failing — how do you design to avoid this?<br> <br>9. Memory usage keeps growing over time — what do you immediately suspect?<br> <br>10. Logs are missing in production but fine locally — what are the first checks?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28bb0e88b002" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 6]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-6-f268cd9516d1?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/f268cd9516d1</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Sat, 09 May 2026 13:31:00 GMT</pubDate>
            <atom:updated>2026-05-09T13:31:00.530Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Java Backend Developer Interview Questions (3–6 Yrs)</p><p>Q) There is two String S1 =”Java” and S2 =”Software” swap value without third variable and loops?<br>Q) There is one String s = “Java” count frequency of characters using java 8. <br>Q) int a = {10,15,20,25} and number if n =1 print 10,15,n=2 print 20,25 using java <br>Q) Types of garbage collectors in java?<br>Q) In tree set null is allowed?<br>Q) What is <a href="http://twitter.com/SpringbootStarterApp">@SpringbootStarterApp</a>lication annotation and how internally works<br>Q) Features of java 17 over java 8<br>Q) what is functional interface?<br>Q) why default method introduce in java 8?<br>Q) if functional interface have one default and one abstract method so it called functional interface?</p><p>1. How did you upgrade your Java 11 applications to Java 17?<br>2. What improvements or new logic did you implement after migration?<br>3. Key new features and differences introduced between Java 11 and Java 17.<br>4. What is a record class in Java? How to declare it and use its fields?<br>5. Inheritance-based code snippets with tricky outputs related to overriding, overloading, object creation and dynamic reference resolution.<br>6. Inheritance vs Abstract classes — when to use which?<br>7. Discussion on mutability vs immutability.<br>8. How to create an immutable class in Java?<br>9. A shared list being modified in one class and reflecting in another — why does it happen, and how to prevent it? (pseudo code)<br>10. Hash collisions and how they are handled in Java.<br>11. Fail-fast vs Fail-safe iterators.<br>12. <a href="http://twitter.com/RestController">@RestController</a> vs <a href="http://twitter.com/Controller">@Controller</a>.<br>13. Bean lifecycle and different bean scopes.<br>14. Access modifiers in detail and how they relate to bean visibility.<br>15. <a href="http://twitter.com/Configuration">@Configuration</a> annotation and configuration classes discussion.<br>16. Pivot element in an array. (Coding Question)<br>17. Move all zeros to the right side of the array. (Coding Question)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f268cd9516d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 5]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-5-ea5cd85fc14b?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea5cd85fc14b</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Wed, 06 May 2026 13:31:01 GMT</pubDate>
            <atom:updated>2026-05-06T13:31:01.394Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Java Backend Developer Interview Questions (3–6 Yrs)</p><p>🔷 Core Java<br>1. What are virtual threads in Java 21, and how do they differ from platform threads?<br>2. Difference between record, class, and sealed class.<br>3. How does pattern matching for switch work in Java 17+?<br>4. Internal working of ConcurrentHashMap.<br>5. CompletableFuture.thenApply() vs thenCompose().<br>6. What are text blocks, and where are they useful?<br>7. Java memory management using G1GC / ZGC.<br>8. Difference between equals() and hashCode(), and why it matters.<br>🔷 Spring &amp; Spring Boot<br> 9. How does Spring Boot auto-configuration work internally?<br> 10. Difference between <a href="http://twitter.com/Component">@Component</a>, <a href="http://twitter.com/Service">@Service</a>, and <a href="http://twitter.com/Repository">@Repository</a>.<br> 11. How do you implement global exception handling?<br> 12. How does Spring Boot externalize configuration for environments?<br> 13. Securing REST APIs using JWT.<br> 14. Role of Spring Boot Actuator in production.<br> 15. Transaction propagation in <a href="http://twitter.com/Transactional">@Transactional</a>.<br> 16. Integrating Kafka with Spring Boot.<br>🔷 Microservices<br> 17. Advantages and challenges of microservices architecture.<br> 18. Saga pattern for distributed transactions.<br> 19. Secure service-to-service communication.<br> 20. Eventual consistency and how to handle it.<br>🔷 Coding Questions<br> 21. Find the first non-repeating character in a string.<br> 22. Reverse a linked list.<br> 23. Longest substring without repeating characters.<br>🔷 Databases, DevOps &amp; Cloud<br> 24. SQL query to fetch the second-highest salary.<br> 25. How Kafka partitions enable scalability.<br> 26. What is a Kafka consumer group?<br> 27. Difference between Docker image vs container.<br> 28. Liveness vs readiness probes in Kubernetes.<br> 29. Designing idempotent REST APIs.<br> 30. API versioning and why it’s required.<br> 31. Kubernetes auto-scaling mechanisms.<br> 32. Synchronous REST vs asynchronous messaging.<br> 33. What is a Dead Letter Queue (DLQ)?<br> 34. Securing secrets in cloud applications.<br> 35. Blue-green vs canary deployments.<br> 36. Monitoring microservices in production.<br> 37. Horizontal vs vertical scaling.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea5cd85fc14b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 4]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-4-618a59445b98?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/618a59445b98</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Sat, 02 May 2026 13:31:01 GMT</pubDate>
            <atom:updated>2026-05-02T13:31:01.421Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Java Backend Developer Interview Questions (3–6 Yrs)</p><p>🔹 Core Java (Warm-up)<br> • Difference between == and equals()<br> • How does HashMap work internally?<br> • Difference between HashMap and ConcurrentHashMap<br> • What are the features introduced in Java 8?<br> • What are the features introduced in Java 17 and where have you used them in your project?<br> • What is the difference between map() and flatMap()?<br> • What is intern() method?</p><p>🔹 Multithreading<br> • Difference between wait() and sleep()<br> • What is volatile? Where have you used it?<br> • Difference between synchronized block and synchronized method</p><p>🔹 JVM / Memory<br> • Explain the Java Memory Model<br> • Common causes of memory leaks and how do you debug them?</p><p>🔹 Spring Boot<br> • Difference between <a href="http://twitter.com/Component">@Component</a> and <a href="http://twitter.com/Service">@Service</a><br> • Why is constructor injection preferred over field injection?<br> • How does Spring Boot auto-configuration work at a high level?</p><p>🔹 REST API Basics<br> • Difference between PUT and POST<br> • How do you handle global exception handling in Spring Boot?</p><p>🔹 Coding Question<br>Write a program to validate parentheses:<br> “{[()]}” → ✅ valid<br> “{[(])}” → ❌ invalid</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=618a59445b98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 3]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-3-489d4f254904?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/489d4f254904</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Wed, 29 Apr 2026 13:31:01 GMT</pubDate>
            <atom:updated>2026-04-29T13:31:01.430Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Java Backend Developer Interview Questions (3–6 Yrs)</p><p>1. What is a thread in Java? How is it different from a process?</p><p>2. What are the different ways to create a thread in Java?</p><p>3. What is the difference between start() and run() methods?</p><p>4. Explain the thread lifecycle and its states.</p><p>5. What is context switching?</p><p>6. What are daemon threads? When should we use them?</p><p>7. What is synchronization and why is it needed?</p><p>8. Difference between synchronized method and synchronized block.</p><p>9. What is object-level locking vs class-level locking?</p><p>10. What is deadlock? How can it be prevented?</p><p>11. Difference between sleep() and wait() methods.</p><p>12. What is the use of join() method?</p><p>13. What is a race condition and how do you avoid it?</p><p>14. What is the volatile keyword? How is it different from synchronization?</p><p>15. What is ThreadLocal and where is it used?</p><p>16. Difference between Callable and Runnable.</p><p>17. What is the Executor framework and why is it preferred over manual thread creation?</p><p>18. Difference between submit() and execute() methods.</p><p>19. What is the Fork/Join framework?</p><p>20. How does Java ensure thread safety in concurrent collections?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=489d4f254904" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Weeks Java Backend Interview Mastery (Wed & Sun Series)- Article 2]]></title>
            <link>https://medium.com/@singhriddhi075/15-weeks-java-backend-interview-mastery-wed-sun-series-article-2-8a8901e46d68?source=rss-3fa1c4b08971------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a8901e46d68</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Singhriddhi]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 13:31:01 GMT</pubDate>
            <atom:updated>2026-04-25T13:31:01.569Z</atom:updated>
            <content:encoded><![CDATA[<p>Focused on real interview patterns followed by top service-based companies. Covering 90% of Java + Spring Boot interview questions</p><p>Backend Developer Interview Questions (3–6 Yrs)</p><p>🔹Core Java</p><p>1. Explain Java Streams API<br> 2. In what places have you used Java Streams in your projects?<br> 3. Find distinct elements using Java Streams<br> 4. Print N numbers while skipping specified numbers using streams<br> 5. What is ConcurrentHashMap? Explain its internal working<br> 6. How will you make a class thread-safe?<br> 7. How do you avoid deadlocks in Java?<br> 8. Explain Garbage Collection in brief</p><p>🔹Spring Boot &amp; Microservices</p><p>1. Scenario: Your Spring Boot API is facing sudden slowness in production. How do you approach debugging?<br> 2. Scenario: You have services deployed across multiple data centers. One data center’s microservice is down. How will other data center services continue to serve requests?<br> 3. Scenario-based coding:<br> Employee interface<br> PermanentEmployee class<br> ContractualEmployee class<br> Write a controller to return a list of contractual employees only<br> 4. Scenario: Spring Boot POST API receives an empty request body. What will be the response and HTTP status code?<br> 5. Difference between PUT and POST HTTP methods<br> 6. How did you implement Spring Security in your project?<br> 7. How did you use Spring Batch in your project?<br> 8. Scenario: Your API is deployed in dev/production-dev. You need to promote it to production live. Will you manually change the code? If not, how will you handle it?</p><p>🔹Collections &amp; SQL</p><p>1. Which is the right collection type to handle distinct elements and prevent duplicates?<br> 2. SQL query: <br> Get the list of distinct employee names<br> Display names in UPPERCASE<br> Also show the count of employees</p><p>🔹Design &amp; Architecture</p><p>1. What design patterns do you know?<br> 2. Which design patterns have you used in your projects and where exactly?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a8901e46d68" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>