<?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 Abhishek Gupta on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Gupta on Medium]]></description>
        <link>https://medium.com/@rajagupta07042000?source=rss-4af216d47282------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LdmvKQcEiboCTgj7CpSetQ.jpeg</url>
            <title>Stories by Abhishek Gupta on Medium</title>
            <link>https://medium.com/@rajagupta07042000?source=rss-4af216d47282------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:14:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rajagupta07042000/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[Blind 75 Dsa Interview Questions]]></title>
            <link>https://medium.com/@rajagupta07042000/blind-75-dsa-interview-questions-058147cbb7ee?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/058147cbb7ee</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[dsa-courses]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[data-structures]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Sun, 29 Dec 2024 18:00:42 GMT</pubDate>
            <atom:updated>2024-12-29T18:00:42.665Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Array:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/sort-an-array-of-0s-1s-and-2s4231/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Sort an array of 0,1,2</a></li><li><a href="https://www.geeksforgeeks.org/problems/subarray-with-0-sum-1587115621/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Subarray with 0 sum</a></li><li><a href="https://www.geeksforgeeks.org/problems/triplet-sum-in-array-1587115621/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Three sum</a></li><li><a href="https://www.geeksforgeeks.org/problems/kadanes-algorithm-1587115620/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Largest subarray sum( Kadnane’s Algorithm)</a></li><li><a href="https://www.geeksforgeeks.org/problems/overlapping-intervals--170633/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Merge intervals</a></li><li><a href="https://www.geeksforgeeks.org/problems/median-of-2-sorted-arrays-of-different-sizes/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Median of two sorted array</a></li><li><a href="https://www.geeksforgeeks.org/problems/trapping-rain-water-1587115621/1?ref=gcse_ind">Trapping Rain Water</a></li><li><a href="https://www.geeksforgeeks.org/problems/largest-subarray-of-0s-and-1s/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Largest subarray with equal 0 and 1</a></li><li><a href="https://www.geeksforgeeks.org/problems/buy-stock-2/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Stock buy and sell(Max one transaction)</a></li><li><a href="https://www.geeksforgeeks.org/problems/arranging-the-array1131/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Move negative elements to beginning</a></li></ul><h3><strong>String:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/print-anagrams-together/1?ref=gcse_ind">Group Anagram</a></li><li><a href="https://www.geeksforgeeks.org/problems/longest-distinct-characters-in-string5848/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Longest substring without repeating character</a></li></ul><h3><strong>LinkedList:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/reverse-a-linked-list/1">Reverse a linked list</a></li><li><a href="https://www.geeksforgeeks.org/problems/reverse-a-linked-list-in-groups-of-given-size/1">Reverse linked list in groups</a></li><li><a href="https://www.geeksforgeeks.org/problems/finding-middle-element-in-a-linked-list/0">Find middle element of linked list</a></li><li><a href="https://www.geeksforgeeks.org/problems/nth-node-from-end-of-linked-list/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Find nth node from end in linked list</a></li><li><a href="https://www.geeksforgeeks.org/problems/remove-loop-in-linked-list/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Detect and remove loop in linked list</a></li><li><a href="https://www.geeksforgeeks.org/problems/add-1-to-a-number-represented-as-linked-list/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Add 1 to linked list</a></li><li><a href="https://www.geeksforgeeks.org/problems/intersection-point-in-y-shapped-linked-lists/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Find intersection point in y shaped linked list</a></li><li><a href="https://www.geeksforgeeks.org/problems/flattening-a-linked-list/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Flatten a linked list</a></li></ul><h3><strong>Search/Sorting:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/peak-element/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Peak element in an array</a></li><li><a href="https://www.geeksforgeeks.org/problems/search-in-a-rotated-array4618/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Search in a sorted rotated array</a></li><li><a href="https://www.geeksforgeeks.org/problems/first-and-last-occurrences-of-x3116/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">First and last element in an Array</a></li><li><a href="https://www.geeksforgeeks.org/problems/merge-two-sorted-arrays-1587115620/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Merge two sorted arrays in O(1)</a></li><li><a href="https://www.geeksforgeeks.org/problems/searching-in-an-array-where-adjacent-differ-by-at-most-k0456/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Search in array with adjacent diff at most k</a></li><li><a href="https://www.geeksforgeeks.org/problems/find-missing-and-repeating2512/1">Find missing and repeating</a></li><li><a href="https://www.geeksforgeeks.org/problems/majority-element-1587115620/1">Find the majority element</a></li></ul><h3><strong>Tree:</strong></h3><ul><li>Inorder/preorder/postorder traversal</li><li><a href="https://www.geeksforgeeks.org/problems/level-order-traversal/1">Level Order Traversal/Zigzag Traversal</a></li><li><a href="https://www.geeksforgeeks.org/problems/print-a-binary-tree-in-vertical-order/1?ref=gcse_ind">Vertical Order Traversal</a></li><li><a href="https://www.geeksforgeeks.org/problems/left-view-of-binary-tree/1?ref=gcse_ind">Left/Right view of a binary tree</a></li><li><a href="https://www.geeksforgeeks.org/problems/check-for-balanced-tree/1?ref=gcse_ind">Check balanced tree</a></li><li><a href="https://www.geeksforgeeks.org/problems/mirror-tree/0?ref=gcse_ind">Mirror of a binary tree</a></li><li><a href="https://www.geeksforgeeks.org/problems/lowest-common-ancestor-in-a-binary-tree/1?ref=gcse_ind">LCA in binary tree</a></li><li><a href="https://www.geeksforgeeks.org/problems/delete-a-node-from-bst/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Delete node in a bst</a></li><li><a href="https://www.geeksforgeeks.org/problems/lowest-common-ancestor-in-a-bst/1?ref=gcse_ind">LCA in BST</a></li><li><a href="https://www.geeksforgeeks.org/problems/diameter-of-binary-tree/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Diameter of a binary tree</a></li><li><a href="https://www.geeksforgeeks.org/problems/construct-tree-1/1">Construct tree from inorder and preorder</a></li></ul><h3><strong>Stack/Queue:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/parenthesis-checker2744/1">Balanced Paranthesis</a></li><li><a href="https://www.geeksforgeeks.org/problems/get-minimum-element-from-stack/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Get minimum of stack in O(1)</a></li><li><a href="https://www.geeksforgeeks.org/problems/next-larger-element-1587115620/1?ref=gcse_ind">Next Greater Element</a></li><li><a href="https://www.geeksforgeeks.org/problems/count-the-reversals0401/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Minimum number of bracket reversal to make string balanced</a></li><li><a href="https://www.geeksforgeeks.org/problems/circular-tour-1587115620/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Circular tour</a></li><li><a href="https://www.geeksforgeeks.org/problems/maximum-of-all-subarrays-of-size-k3101/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Maximum of all subarrays of size K</a></li><li><a href="https://www.geeksforgeeks.org/problems/first-negative-integer-in-every-window-of-size-k3345/0?ref=gcse_ind">First negative in every window of size k</a></li><li><a href="https://www.geeksforgeeks.org/problems/maximum-rectangular-area-in-a-histogram-1587115620/1?ref=gcse_ind">Histogram max rectangular area</a></li><li><a href="https://www.geeksforgeeks.org/problems/lru-cache/1?ref=gcse_ind">LRU Cache</a></li></ul><h3><strong>Heap:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/kth-smallest-element5635/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Kth Smallest/largest element in an array</a></li><li><a href="https://www.geeksforgeeks.org/problems/merge-k-sorted-arrays/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Merge k sorted arrays</a></li><li><a href="https://www.geeksforgeeks.org/problems/find-median-in-a-stream-1587115620/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Median in a stream of integer</a></li><li><a href="https://www.geeksforgeeks.org/problems/minimum-cost-of-ropes-1587115620/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Connect ropes with minimum cost</a></li></ul><h3><strong>Greedy:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/activity-selection-1587115620/1?ref=gcse_ind">Activity Selection</a></li><li><a href="https://www.geeksforgeeks.org/problems/maximum-meetings-in-one-room/0?ref=gcse_ind">Maximum meetings in one room</a></li><li><a href="https://www.geeksforgeeks.org/problems/minimum-platforms-1587115620/1?ref=gcse_ind">Minimum Platforms needed</a></li></ul><h3><strong>DP:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/0-1-knapsack-problem0945/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">0–1 Knapsack</a></li><li><a href="https://www.geeksforgeeks.org/problems/coin-change2448/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Coin Change(Count Ways)</a></li><li><a href="https://www.geeksforgeeks.org/problems/number-of-coins1824/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Coin change(Min Coins)</a></li><li><a href="https://www.geeksforgeeks.org/problems/rod-cutting0840/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Rod cutting</a></li><li><a href="https://www.geeksforgeeks.org/problems/stickler-theif-1587115621/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">House robber(Adjacent not allowed)</a></li><li><a href="https://www.geeksforgeeks.org/problems/subset-sum-problem2014/1">Equal subset sum</a></li><li><a href="https://www.geeksforgeeks.org/problems/longest-common-subsequence-1587115620/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Longest Common Subsequence</a></li><li><a href="https://www.geeksforgeeks.org/problems/longest-repeating-subsequence2004/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Longest Repeating Subsequence</a></li><li><a href="https://www.geeksforgeeks.org/problems/longest-increasing-subsequence-1587115620/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Longest Increasing Subsequence</a></li><li><a href="https://www.geeksforgeeks.org/problems/longest-common-substring1452/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Longest Common Substring</a></li><li><a href="https://www.geeksforgeeks.org/problems/longest-palindrome-in-a-string1956/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Longest Palindromic Substring</a></li><li><a href="https://www.geeksforgeeks.org/problems/edit-distance3702/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Edit Distance</a></li><li><a href="https://www.geeksforgeeks.org/problems/maximum-profit4657/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Stock buy and sell(Atmost k transaction)</a></li></ul><h3><strong>Matrix:</strong></h3><ul><li><a href="https://www.geeksforgeeks.org/problems/maximum-profit4657/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Stock buy and sell(Atmost k transaction)</a></li><li><a href="https://www.geeksforgeeks.org/problems/search-in-a-matrix17201720/1">Search in a Row-Column sorted matrix</a></li><li><a href="https://www.geeksforgeeks.org/problems/row-with-max-1s0023/1?ref=gcse_ind">Row with maximum one’s</a></li><li><a href="https://www.geeksforgeeks.org/problems/spirally-traversing-a-matrix-1587115621/1?ref=gcse_ind">Spiral traversal of a matrix</a></li><li><a href="https://www.geeksforgeeks.org/problems/rotate-by-90-degree0356/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Rotate a matrix by 90 degree</a></li><li><a href="https://www.geeksforgeeks.org/problems/path-in-matrix3805/1?ref=gcse_ind">Maximum path sum</a></li></ul><p><strong>Graph:</strong></p><ul><li><a href="https://www.geeksforgeeks.org/problems/depth-first-traversal-for-a-graph/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">DFS/BFS of graph</a></li><li><a href="https://www.geeksforgeeks.org/problems/rotten-oranges2536/1?ref=gcse_ind">Rotten Oranges</a></li><li><a href="https://www.geeksforgeeks.org/problems/find-the-number-of-islands/1?itm_source=geeksforgeeks&amp;itm_medium=article&amp;itm_campaign=practice_card">Number of islands</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=058147cbb7ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Machine Coding Rounds for Android Development Interviews]]></title>
            <link>https://medium.com/@rajagupta07042000/mastering-machine-coding-rounds-for-android-development-interviews-d7fc1ff17fef?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7fc1ff17fef</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Wed, 02 Oct 2024 10:46:13 GMT</pubDate>
            <atom:updated>2024-10-05T17:54:17.531Z</atom:updated>
            <content:encoded><![CDATA[<p>Preparing for machine coding rounds in Android development interviews can be a challenging yet rewarding journey. These rounds assess your ability to write efficient, scalable, and maintainable code under real-world constraints. In this blog, we’ll delve into what machine coding rounds entail, the expectations set by interviewers, and comprehensive strategies to help you excel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*94pqcn8yo7NAKkNeWrIl1g.png" /></figure><h3>Table of Contents</h3><ol><li><a href="#understanding-machine-coding-rounds">Understanding Machine Coding Rounds</a></li><li><a href="#expectations-in-machine-coding-rounds">Expectations in Machine Coding Rounds</a></li><li><a href="#essential-preparation-strategies">Essential Preparation Strategies</a></li><li><a href="#commonly-asked-machine-coding-questions">Commonly Asked Machine Coding Questions</a></li><li><a href="#best-practices-to-keep-in-mind">Best Practices to Keep in Mind</a></li><li><a href="#conclusion">Conclusion</a></li></ol><h3>Understanding Machine Coding Rounds</h3><h3>What is a Machine Coding Round?</h3><p>A <strong>machine coding round</strong> is a critical phase in Android development interviews where candidates are tasked with solving one or two coding problems within a stipulated time frame. Unlike theoretical interviews, machine coding focuses on your ability to write actual code, emphasizing practical skills such as:</p><ul><li><strong>Architecture and Scalability:</strong> Designing systems that can handle growth.</li><li><strong>Optimization:</strong> Writing efficient code that performs well.</li><li><strong>Edge Case Handling:</strong> Anticipating and managing uncommon scenarios.</li></ul><p>This round evaluates not just your coding prowess but also your problem-solving approach, code organization, and adherence to best practices.</p><h3>Expectations in Machine Coding Rounds</h3><p>Interviewers expect you to demonstrate:</p><ol><li><strong>Technical Proficiency:</strong> Strong command over Android development concepts and programming languages like Kotlin or Java.</li><li><strong>Architectural Insight:</strong> Ability to design scalable and maintainable systems using appropriate architectural patterns.</li><li><strong>Optimization Skills:</strong> Writing optimized code that efficiently uses resources.</li><li><strong>Comprehensive Testing:</strong> Handling edge cases and ensuring the robustness of your solutions.</li><li><strong>Clean Code Practices:</strong> Maintaining readability, proper documentation, and adherence to coding standards.</li></ol><h3>Essential Preparation Strategies</h3><h3>1. Writing Scalable Code</h3><p>Scalability is paramount in Android applications to handle increasing loads and expanding features seamlessly. To write scalable code:</p><ul><li><strong>Modularization:</strong> Break down your code into reusable modules.</li><li><strong>Separation of Concerns:</strong> Ensure that different parts of your application handle distinct functionalities.</li><li><strong>Efficient Resource Management:</strong> Optimize memory and battery usage.</li></ul><p><strong>Tips:</strong></p><ul><li>Use design patterns that promote scalability.</li><li>Write clean and maintainable code to facilitate future enhancements.</li></ul><h3>2. API Calls with Third-Party Libraries or OkHttp</h3><p>Interacting with APIs is a common task in Android development. Familiarize yourself with:</p><ul><li><strong>OkHttp:</strong> A powerful HTTP client for Android and Java applications.</li><li><strong>Retrofit:</strong> A type-safe HTTP client for Android and Java.</li><li><strong>Volley:</strong> A library that makes networking for Android apps easier and faster.</li></ul><p><strong>Key Points:</strong></p><ul><li>Understand how to perform synchronous and asynchronous API calls.</li><li>Handle different response types (JSON, XML) and manage errors gracefully.</li><li>Implement best practices for secure and efficient networking.</li></ul><h3>3. Working with RecyclerView</h3><p>RecyclerView is a versatile and efficient component for displaying large sets of data. To master RecyclerView:</p><ul><li><strong>Understand ViewHolder Pattern:</strong> Enhances performance by recycling views.</li><li><strong>Implement Adapters:</strong> Manage the data and bind it to RecyclerView.</li><li><strong>Handle Item Interactions:</strong> Manage user interactions like clicks and swipes.</li><li><strong>Implement Pagination:</strong> Load data in chunks to improve performance.</li></ul><p><strong>Practice:</strong></p><ul><li>Create dynamic lists with different view types.</li><li>Optimize RecyclerView for smooth scrolling and minimal lag.</li></ul><h3>4. Architectural Patterns: MVVM, MVP, Repository Pattern</h3><p>Choosing the right architectural pattern is crucial for building maintainable and testable applications.</p><ul><li><strong>MVVM (Model-View-ViewModel):</strong> Separates the development of the graphical user interface from the business logic.</li><li><strong>MVP (Model-View-Presenter):</strong> Similar to MVVM but with different interaction flows between components.</li><li><strong>Repository Pattern:</strong> Abstracts data sources and provides a clean API for data access.</li></ul><p><strong>Benefits:</strong></p><ul><li>Enhances code readability and maintainability.</li><li>Facilitates easier testing and debugging.</li><li>Promotes separation of concerns and modularity.</li></ul><h3>5. Dependency Injection</h3><p>Dependency Injection (DI) is a technique to achieve Inversion of Control (IoC) between classes and their dependencies.</p><ul><li><strong>Frameworks to Learn:</strong></li><li><strong>Dagger:</strong> A fully static, compile-time dependency injection framework for Java and Android.</li><li><strong>Hilt:</strong> Built on top of Dagger, it simplifies DI in Android.</li><li><strong>Koin:</strong> A pragmatic lightweight dependency injection framework for Kotlin.</li></ul><p><strong>Advantages:</strong></p><ul><li>Improves code modularity and reusability.</li><li>Enhances testability by allowing easy substitution of dependencies.</li><li>Reduces boilerplate code and manages object creation efficiently.</li></ul><h3>6. Offline Support and Local Data Storage</h3><p>Sometimes, interviewers ask for offline support in your applications. It’s essential to have hands-on experience with local data storage solutions.</p><p><strong>Room Database:</strong></p><ul><li><strong>Persistence Library:</strong> Provides an abstraction layer over SQLite to allow fluent database access.</li><li><strong>Entity and DAO:</strong> Understand how to define entities and Data Access Objects for CRUD operations.</li><li><strong>Migrations:</strong> Handle schema changes gracefully.</li></ul><p><strong>SharedPreferences:</strong></p><ul><li><strong>Lightweight Storage:</strong> Ideal for storing simple key-value pairs like user settings or small amounts of data.</li><li><strong>Usage Patterns:</strong> Learn when to use SharedPreferences versus other storage options.</li></ul><p><strong>Key Points:</strong></p><ul><li>Implement robust data synchronization mechanisms between local storage and remote servers.</li><li>Ensure data consistency and handle conflicts effectively.</li><li>Optimize storage to prevent excessive use of device resources.</li></ul><h3>7. Multithreading and Thread Safety</h3><p>Writing thread-safe code is crucial for building responsive and reliable Android applications.</p><p><strong>Understanding Threads:</strong></p><ul><li><strong>Main (UI) Thread vs. Background Threads:</strong> Manage tasks appropriately to avoid UI freezes.</li><li><strong>AsyncTask, Executors, Coroutines:</strong> Utilize these tools for managing asynchronous operations.</li></ul><p><strong>Thread Safety Measures:</strong></p><ul><li><strong>Synchronization:</strong> Use synchronized blocks or methods to control access to shared resources.</li><li><strong>Immutable Objects:</strong> Design objects that cannot be modified after creation to prevent concurrency issues.</li><li><strong>Locks and Semaphores:</strong> Implement advanced synchronization techniques when necessary.</li></ul><p><strong>Best Practices:</strong></p><ul><li>Avoid long-running operations on the main thread.</li><li>Use concurrency libraries like Kotlin Coroutines for more straightforward and safer multithreading.</li><li>Ensure that shared resources are accessed in a thread-safe manner to prevent race conditions and deadlocks.</li></ul><h3>Commonly Asked Machine Coding Questions</h3><ol><li><strong>Call an API using OkHttp and print the parsed response.</strong></li></ol><ul><li><strong>Objective:</strong> Demonstrate your ability to perform network operations and handle responses.</li><li><strong>Skills Tested:</strong> Networking, JSON parsing, error handling.</li></ul><p><strong>2. Call an API using a third-party library and display the data in a list with pagination.</strong></p><ul><li><strong>Objective:</strong> Show proficiency in using libraries like Retrofit or Volley and implementing efficient data loading strategies.</li><li><strong>Skills Tested:</strong> Networking, RecyclerView, pagination.</li></ul><p><strong>3. Write code for log-in a user.</strong></p><ul><li><strong>Objective:</strong> Instead of focusing on implementing authentication mechanisms, this task assesses your ability to structure your code effectively. You should demonstrate the classes, functions, and architectural patterns you use to handle the login process.</li><li><strong>Skills Tested:</strong> API integration, multi-threading, clean code practices..</li></ul><p><strong>4. Design a homepage that displays dynamic content.</strong></p><ul><li><strong>Objective:</strong> Showcase your ability to create dynamic and responsive UI components.</li><li><strong>Skills Tested:</strong> UI development, data binding, scalability, POJO class design for backend integration.</li></ul><p><strong>5. Design a utility that syncs data from local storage to the server, usable by other teams.</strong></p><ul><li><strong>Objective:</strong> Illustrate your ability to create reusable and efficient utilities.</li><li><strong>Skills Tested:</strong> Data synchronization, multi-threading, API integration, clean code practices.</li></ul><p><strong>6.Basic hands-on with animations.</strong></p><ul><li><strong>Objective:</strong> Implement smooth and visually appealing animations.</li><li><strong>Skills Tested:</strong> UI/UX design, Android animation frameworks, performance optimization.</li></ul><p><strong>7. Design a Todo App with Offline Support</strong></p><ul><li><strong>Objective:</strong> Create a functional Todo application where users can add or delete tasks, with offline capabilities.</li><li><strong>Skills Tested:</strong> UI development, local data storage (RoomDB, SharedPreferences), data synchronization, handling offline scenarios, CRUD operations.</li></ul><h3>Best Practices to Keep in Mind</h3><h3>1. Use Design and Architectural Patterns for Scalability</h3><p>Incorporate proven design patterns like MVVM, MVP, and the Repository pattern to structure your codebase effectively. This not only makes your code scalable but also easier to maintain and test.</p><h3>2. Prefer LiveData or Flow Over Interfaces for Data Observation</h3><p>Leverage <strong>LiveData</strong> or <strong>Kotlin Flow</strong> for observing data changes in activities or fragments. These components provide lifecycle-aware data streams, reducing boilerplate code and preventing memory leaks.</p><h3>3. Separate Data Classes for Backend and UI</h3><ul><li><strong>Backend Data Classes:</strong> Design POJOs (Plain Old Java Objects) tailored to the backend API responses.</li><li><strong>UI Data Classes:</strong> Create separate classes or view models optimized for displaying data in the UI.</li></ul><p>This separation ensures that changes in the backend don’t directly affect the UI layer, enhancing modularity and flexibility.</p><h3>4. Use Self-Explanatory Names for Classes and Variables</h3><p>Adopt clear and descriptive naming conventions for your classes, methods, and variables. This improves code readability and makes it easier for others (and future you) to understand the codebase.</p><p><strong>Examples:</strong></p><ul><li>Instead of DataFetcher, use UserProfileDataFetcher.</li><li>Instead of tempList, use filteredUserList.</li></ul><h3>5. Create Constant Classes for Better Architecture</h3><p>Maintain all your constant values (like API endpoints, keys, and fixed strings) in dedicated constant classes or files. This centralizes configuration, making it easier to manage and update.</p><p><strong>Benefits:</strong></p><ul><li>Reduces the risk of typos and inconsistencies.</li><li>Simplifies changes to constant values without searching through the entire codebase.</li></ul><h3>6. Ensure Robust Offline Support</h3><p>When implementing offline capabilities:</p><ul><li><strong>Data Persistence:</strong> Use RoomDB for structured data storage and SharedPreferences for simple key-value pairs.</li><li><strong>Synchronization:</strong> Implement mechanisms to sync local data with the server once the device is back online.</li><li><strong>User Feedback:</strong> Inform users about the offline status and any limitations it may impose.</li></ul><h3>7. Implement Thread-Safe Code</h3><p>To prevent concurrency issues:</p><ul><li><strong>Use Coroutines:</strong> Kotlin Coroutines simplify asynchronous programming and help manage background tasks effectively.</li><li><strong>Immutable Data Structures:</strong> Favor immutable data to avoid unintended side effects.</li><li><strong>Proper Synchronization:</strong> When accessing shared resources, ensure that your code is thread-safe using appropriate synchronization techniques.</li></ul><h3>Conclusion</h3><p>Mastering machine coding rounds for Android development interviews requires a blend of solid technical knowledge, strategic preparation, and adherence to best practices. By understanding the expectations, honing essential skills, practicing common coding challenges, and implementing clean code principles, you can significantly enhance your chances of success.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7fc1ff17fef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Kotlin Basics: Questions from Top-Tier Tech Interviews]]></title>
            <link>https://medium.com/@rajagupta07042000/mastering-kotlin-basics-questions-from-top-tier-tech-interviews-84eafbfe7947?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/84eafbfe7947</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Fri, 27 Sep 2024 16:23:55 GMT</pubDate>
            <atom:updated>2024-09-27T16:28:36.044Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>What are scope functions, and what are their types?</li><li>What is the difference between lazy and lateinit?</li><li>What is an extension function? Provide an example and code snippet.</li><li>What is a higher-order function? Give an example.</li><li>What are lambda functions? Provide an example.</li><li>What are top-level functions in Kotlin?</li><li>What are companion objects?</li><li>What is the difference between object and companion object?</li><li>What is the difference between extension functions and companion objects?</li><li>How do open classes differ from abstract classes?</li><li>Explain the terms inline, noinline, crossinline, and reified.</li><li>What are sealed classes and enum classes? What distinguishes them?</li><li>What are the different types of variables in Kotlin?</li><li>What is the difference between const and val?</li><li>How can you implement a singleton class in Kotlin?</li><li>Which class in Android is a singleton by default?</li><li>What is an inner class, and can it lead to memory leaks?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84eafbfe7947" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Android Architectures: Questions from Top-Tier Tech Interviews]]></title>
            <link>https://medium.com/@rajagupta07042000/mastering-android-architectures-questions-from-top-tier-tech-interviews-f2d701a61981?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2d701a61981</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Fri, 27 Sep 2024 15:43:43 GMT</pubDate>
            <atom:updated>2024-09-27T15:43:43.584Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hTChLeyP6EpucS7ihJ8vSg.png" /></figure><ol><li>What distinguishes MVVM from MVP in Android architecture?</li><li>What benefits does LiveData provide in MVVM compared to interfaces in MVP?</li><li>What role does ViewModel play in Android architecture?</li><li>Why shouldn’t we share the same instance of a Presenter across multiple components, like we do with ViewModel?</li><li>Can you explain the Repository pattern and its advantages?</li><li>What is clean architecture, and what are its various layers?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2d701a61981" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Android Data Storage: Questions from Top-Tier Tech Interviews]]></title>
            <link>https://medium.com/@rajagupta07042000/mastering-android-data-storage-questions-from-top-tier-tech-interviews-94e838ecbfdb?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/94e838ecbfdb</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Fri, 27 Sep 2024 15:26:35 GMT</pubDate>
            <atom:updated>2024-09-27T16:39:21.875Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gSvXmUZNFcGu_TznACTcbw.png" /></figure><h3>RoomDB and SQLite</h3><ol><li>What is the difference between RoomDB and SQLite?</li><li>What are the components of RoomDB?</li><li>What annotations are used for CRUD operations in RoomDB?</li><li>What is the purpose of the @Transaction annotation in RoomDB?</li><li>How does migration work in RoomDB?</li></ol><h3>SQL vs. NoSQL Databases</h3><ol><li>What is the difference between NoSQL databases and SQL databases?</li><li>Which storage option would you use to store a large amount of structured data?</li><li>Which storage option would you use to store a large amount of unstructured data?</li></ol><h3>SharedPreferences</h3><ol><li>What is the use of SharedPreferences in Android and in which format data is stored in it?</li><li>What is the difference between apply() and commit() in SharedPreferences?</li><li>How can you prevent data stored in SharedPreferences on a rooted device?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94e838ecbfdb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering ViewModel and LiveData: Key Interview Questions for Android Developers]]></title>
            <link>https://medium.com/@rajagupta07042000/mastering-viewmodel-and-livedata-key-interview-questions-for-android-developers-e2bbbfb1a076?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2bbbfb1a076</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Thu, 26 Sep 2024 18:01:53 GMT</pubDate>
            <atom:updated>2024-09-27T15:41:12.762Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yzNrIheOZGNtRk5N6Lp3Fw.png" /></figure><ol><li>What is a ViewModel, and what purpose does it serve in Android applications?</li><li>What are the potential consequences of using a regular class instead of a ViewModel in an Android application?</li><li>What is the process for retrieving a ViewModel instance from the ViewModelProvider, and how does this mechanism work internally?</li><li>How does a ViewModel persist through configuration changes in an Android application?</li><li>How can you use same instance of ViewModel accross different components?</li><li>Is the ViewModelStore a part of the ViewModelProvider, and how does it relate to ViewModel instances?</li><li>What parameters are required when using ViewModelProvider to retrieve a ViewModel instance?</li><li>Which scope should you use if you need to perform work only while the ViewModel is alive?</li><li>Can you explain what LiveData is and how it is lifecycle-aware?</li><li>What are the benefits of using LiveData in Android applications?</li><li>What is the difference between setValue() and postValue() methods in LiveData?</li><li>What is the difference between observe and observeForever in LiveData?</li><li>Write the code for LiveData class?</li><li>Could you define what Flow is in the context of Kotlin and Android development?</li><li>What are the key differences between Flow and LiveData?</li><li>How would you differentiate between cold streams and hot streams in reactive programming?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2bbbfb1a076" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Interview Question Series]]></title>
            <link>https://medium.com/@rajagupta07042000/ace-your-android-interview-a-comprehensive-guide-to-top-tier-company-questions-745707cc9fe0?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/745707cc9fe0</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android-interviews]]></category>
            <category><![CDATA[interview-questions]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Thu, 26 Sep 2024 16:50:48 GMT</pubDate>
            <atom:updated>2024-12-02T16:47:12.104Z</atom:updated>
            <content:encoded><![CDATA[<p>Having gone through interviews for Android developer roles at leading companies, I’ve come across various topics that are frequently covered. In my ongoing series dedicated to Android interview preparation. This guide aims to provide a consolidated resource for all the blog posts, making it easier for aspiring developers to access and study the material.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lU-VfFZBs6ibINoFGM1hfA.png" /></figure><h4>Topics Covered in the Series:</h4><ol><li><strong>Activity Lifecycle and Launch Modes</strong><br>Explore the intricacies of the Activity lifecycle and the different launch modes in Android applications.<br><a href="https://medium.com/@rajagupta07042000/mastering-android-activities-questions-from-top-tier-tech-interviews-783d01c15c63">Read More</a></li><li><strong>Fragment Lifecycle and Backstack Behavior</strong><br>Understand how fragments work, including their lifecycle and backstack management.<br><a href="https://medium.com/@rajagupta07042000/mastering-android-fragments-key-interview-questions-from-top-tech-companies-237a7c1cda77">Read More</a></li><li><strong>Android Services: Types and Usage</strong><br>Learn about the different types of Services, their lifecycle, and when to use them in your applications.<br><a href="https://medium.com/@rajagupta07042000/mastering-android-services-questions-from-top-tier-tech-interviews-01447da7a044">Read More</a></li><li><strong>Android Architecture Pattern</strong><br>Discover essential architectural patterns in Android development that enhance scalability and maintainability.<br><a href="https://medium.com/@rajagupta07042000/mastering-android-architectures-questions-from-top-tier-tech-interviews-f2d701a61981">Read More</a></li><li><strong>ViewModel and LiveData: Managing UI-Related Data</strong> <br>Gain insights into the role of ViewModel and LiveData in Android architecture. Understand how they help manage UI-related data in a lifecycle-conscious way, ensuring a responsive user experience while avoiding memory leaks.<br><a href="https://medium.com/@rajagupta07042000/mastering-viewmodel-and-livedata-key-interview-questions-for-android-developers-e2bbbfb1a076">Read More</a></li><li><strong>Kotlin Coroutines and Thread Management</strong><br>Dive into essential interview questions regarding Kotlin Coroutines, synchronization techniques, and thread management.<br><a href="https://medium.com/@rajagupta07042000/mastering-kotlin-coroutines-essential-interview-questions-for-android-developers-a944babb645f">Read More</a></li><li><strong>RecyclerView: Implementation and Optimization</strong><br>Discover best practices for implementing and optimizing RecyclerView for efficient list management in Android apps.<br><a href="https://medium.com/@rajagupta07042000/mastering-android-recyclerview-key-interview-questions-from-top-tech-companies-8dcbb8bd20a7">Read More</a></li><li><strong>Dependency Injection in Android</strong><br>Understand the fundamentals of Dependency Injection and its significance in modern Android development.<br><a href="https://medium.com/@rajagupta07042000/mastering-dagger-hilt-in-android-key-interview-questions-bf3836b1de95">Read More</a></li><li><strong>Android Data Storage</strong><br>Explore key questions related to Android data storage mechanisms, including RoomDB, SQLite, and SharedPreferences. This blog will help solidify your understanding of how to effectively store and manage data in Android applications.<br><a href="https://medium.com/@rajagupta07042000/mastering-android-data-storage-questions-from-top-tier-tech-interviews-94e838ecbfdb">Read More</a></li><li><strong>Kotlin Fundamentals for Android Development</strong><br>Explore essential Kotlin concepts crucial for Android development. This section will cover scope functions, lazy vs lateinit, extension functions, higher-order functions, lambda functions, and more.<br><a href="https://medium.com/@rajagupta07042000/mastering-kotlin-basics-questions-from-top-tier-tech-interviews-84eafbfe7947">Read More</a></li></ol><p>This comprehensive guide not only provides a quick overview of each topic but also directs readers to individual blog posts for deeper insights. Feel free to adjust the context and add any additional topics you’ve covered!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=745707cc9fe0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Kotlin Coroutines: Essential Interview Questions for Android Developers]]></title>
            <link>https://medium.com/@rajagupta07042000/mastering-kotlin-coroutines-essential-interview-questions-for-android-developers-a944babb645f?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/a944babb645f</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[coroutine]]></category>
            <category><![CDATA[multithreading]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Thu, 26 Sep 2024 16:35:26 GMT</pubDate>
            <atom:updated>2024-09-26T17:00:31.754Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mastering Kotlin Coroutines: Questions from Top-Tier Tech Interviews</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lMyZMSxLWUKO25yD75Js8A.png" /></figure><p>In this blog post, we’ll cover frequently asked interview questions on Kotlin Coroutines and thread management, commonly posed in top-tier company interviews for Android developer roles. Mastering these topics is crucial for managing asynchronous tasks and ensuring thread safety in Android development. Here are some key questions you might encounter:</p><ol><li>What is a Coroutine?</li><li>What is the difference between a Thread and a Coroutine?</li><li>What are the different types of Dispatchers available in Coroutines?</li><li>What will happen if I call 100 API requests on the Default dispatcher?</li><li>What are the consequences of using the IO dispatcher for CPU-intensive work?</li><li>What are Coroutine Builders?</li><li>What is the difference between async and await in Coroutines?</li><li>How can we perform parallel execution of tasks using Coroutines?</li><li>How can we wait for some tasks to finish? For example, how would you perform an operation after three API calls are completed? Provide code to illustrate this.</li><li>If you are making an API call on a background thread and need to perform an operation on the main thread afterward, how would you achieve this using Coroutines?</li><li>What are Suspend Functions?</li><li>How do Suspend Functions work under the hood?</li><li>How are exceptions handled in Coroutines?</li><li>What is the purpose of CoroutineExceptionHandler<strong>?</strong></li><li>What is a SupervisorScope in Coroutines?</li><li>What kind of Job does the viewModelScope create?</li><li>How do you cancel a Coroutine?</li><li>How do you ensure thread safety in Android?</li><li>What is the use of synchronized and volatile keywords in thread management?</li><li>What is a Semaphore, and how is it used for controlling thread access?</li><li>How can you avoid Deadlock in multithreaded applications?</li><li>What is a Thread Pool, and how does Thread Pool Execution work? What are the benefits of using a Thread Pool?</li></ol><p>Coroutines are a favorite topic in interviews, making it essential to be well-prepared. These questions address key aspects of Kotlin Coroutines and thread management, including synchronization techniques and best practices to avoid deadlocks. Mastering these concepts is vital for excelling in technical rounds at top-tier companies. Stay tuned for detailed answers and code examples in upcoming posts!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a944babb645f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Android Services: Questions from Top-Tier Tech Interviews]]></title>
            <link>https://medium.com/@rajagupta07042000/mastering-android-services-questions-from-top-tier-tech-interviews-01447da7a044?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/01447da7a044</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Thu, 26 Sep 2024 14:48:32 GMT</pubDate>
            <atom:updated>2024-09-26T17:02:52.659Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lMyZMSxLWUKO25yD75Js8A.png" /></figure><ol><li>What is a Service, and when do we use it?</li><li>What are the different types of Services in Android?</li><li>What is the difference between a Bound Service and a Started Service?</li><li>What is an Intent Service?</li><li>How does an Intent Service differ from other types of Services?</li><li>Explain the lifecycle of a Service.</li><li>What are the different return values of onStartCommand() and their significance?</li><li>What is AsyncTask, and can we perform UI operations from it?</li><li>What is a WorkManager, and when do we use it?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01447da7a044" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Android RecyclerView: Key Interview Questions from Top Tech Companies]]></title>
            <link>https://medium.com/@rajagupta07042000/mastering-android-recyclerview-key-interview-questions-from-top-tech-companies-8dcbb8bd20a7?source=rss-4af216d47282------2</link>
            <guid isPermaLink="false">https://medium.com/p/8dcbb8bd20a7</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[recyclerview]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Sat, 21 Sep 2024 06:04:49 GMT</pubDate>
            <atom:updated>2024-09-26T17:05:45.819Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lMyZMSxLWUKO25yD75Js8A.png" /></figure><ol><li>What are the key differences between RecyclerView and ListView in Android?</li><li>Why is RecyclerView considered more memory efficient than ListView?</li><li>What are the main components of a RecyclerView?</li><li>What is the role of an Adapter and ViewHolder in RecyclerView?</li><li>How does the recycling mechanism work in Android’s RecyclerView?</li><li>What are some techniques to optimize scrolling performance in RecyclerView?</li><li>How can you implement multiple view types in a RecyclerView?</li><li>If you have a list of 100 items and only 5 are visible on the screen at a time, how many times is onCreateViewHolder()called and how many times is onBindViewHolder() called?</li><li>How do you handle pagination in a RecyclerView?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8dcbb8bd20a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>