<?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 Bibek Barik on Medium]]></title>
        <description><![CDATA[Stories by Bibek Barik on Medium]]></description>
        <link>https://medium.com/@bipulbibek?source=rss-e52e264e248e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*OseKm0KP5IKzxvnL</url>
            <title>Stories by Bibek Barik on Medium</title>
            <link>https://medium.com/@bipulbibek?source=rss-e52e264e248e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:12:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bipulbibek/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[Deploying a SAP MCP server in SAP BTP]]></title>
            <link>https://medium.com/@bipulbibek/deploying-a-sap-mcp-server-in-sap-btp-5c1b1702b5ec?source=rss-e52e264e248e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c1b1702b5ec</guid>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[sap-btp]]></category>
            <category><![CDATA[sap]]></category>
            <dc:creator><![CDATA[Bibek Barik]]></dc:creator>
            <pubDate>Wed, 12 Nov 2025 14:37:53 GMT</pubDate>
            <atom:updated>2025-11-12T17:14:41.061Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Zero to MCP: Deploying an SAP MCP Server on SAP BTP</h3><p>Bringing an MCP server online in SAP BTP Cloud Foundry can feel like stitching together a lot of moving parts: Cloud Foundry, Destinations, OData discovery, and XSUAA. This guide turns the original checklist into a story-driven walkthrough you can follow end to end — without changing the exact steps, commands, or images you already rely on.</p><h3>Why this setup?</h3><p>The goal is simple: You will use a BTP Destination for connectivity and XSUAA for OAuth-based access.</p><p>Source : (<a href="https://community.sap.com/t5/technology-blog-posts-by-members/sap-odata-to-mcp-server-running-on-btp/ba-p/14220561">SAP OData to MCP Server running on BTP — SAP Community</a>)</p><p>Github : (<a href="https://github.com/BibekBarik18/SAP-MCP-server-in-SAP-BTP">https://github.com/BibekBarik18/SAP-MCP-server-in-SAP-BTP</a>)</p><h3>Before you begin</h3><p>You’ll need:</p><ul><li>An SAP backend service reachable on the internet</li><li>A SAP BTP account with Cloud Foundry enabled</li><li>Cloud Foundry CLI, Node.js/npm, and Python 3 installed</li></ul><h3>1) Create your SAP BTP subaccount and space</h3><p>Start in BTP. Create a subaccount that matches your environment and choose any region suitable for your landscape. Then enable the Cloud Foundry environment and create a space to host the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*awBB-il7j9zNlL5z" /></figure><h3>Quick notes</h3><ul><li>Pick a name that maps to your environment lifecycle</li><li>Capture your Cloud Foundry API endpoint for later login</li></ul><h3>2) Install the Cloud Foundry CLI and activate CF in your subaccount</h3><p>Install the Cloud Foundry CLI locally. In BTP, activate the Cloud Foundry environment API for the subaccount and create your space. This ensures the CLI commands you’ll run later have a target to deploy to.</p><h3>3) Create a Destination to your SAP backend</h3><p>Next, wire BTP to your backend system using a Destination. This centralizes credentials and keeps them out of code.</p><p>Navigate to Connectivity &gt; Destinations and create a new Destination with:</p><ol><li>From scratch</li><li>Name: SAP_Services (or another relevant name)</li></ol><p>Type: HTTP</p><p>Proxy Type: Internet</p><p>Url: url_of_the_sap_backend_services</p><p>Authentication: BasicAuthentication</p><p>User: username_for_accessing_the_backend_services</p><p>Password: password_for_accessing_the_backend_services</p><p>Save the configurations</p><p>3. Click the Destination and run “Check connection” to verify setup.</p><p>Tip: Whatever name you choose here must match SAP_DESTINATION_NAME in your .env later.</p><h3>4) Prepare the project locally</h3><p>Clone the repository. Copy .env.example to .env and set recommended discovery defaults, then point SAP_DESTINATION_NAME to your Destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*PIesaSwXvxuLvTsZ" /></figure><pre>SAP_DESTINATION_NAME=your-own-destination(SAP_Services)<br><br>LOG_LEVEL=debug<br><br># OData Service Discovery Configuration Examples<br># Method 1: Allow all services (use * or &#39;true&#39;)<br>ODATA_ALLOW_ALL=false<br><br># Method 2: Specify service patterns (supports glob patterns)<br># Comma-separated list of patterns<br>ODATA_SERVICE_PATTERNS=*TASKPROCESSING*,*BOOK*,*FLIGHT*,*TRAVEL*,*TRVEXP*,*TRAVELAGENCY*,*TRAVELAGENCYSRV*,*TRAVELAPPROVALS*,*TRAVELAPPROVALS_SRV*,*ZBP*,*ZTRANSPORT*,*ZBC_UI_PARAM_E_CDS*<br><br># Method 3: Use JSON array for more complex patterns<br># ODATA_SERVICE_PATTERNS=[&quot;ZBP*&quot;, &quot;ZTRANSPORT*&quot;, &quot;/^Z.*_CDS$/&quot;]<br><br># Method 4: Use regex patterns (enclose in forward slashes)<br># ODATA_SERVICE_PATTERNS=/^Z(BP|TRANSPORT).*/<br><br># Exclusion patterns (services to exclude even if they match inclusion patterns)<br>ODATA_EXCLUSION_PATTERNS=*_TEST*,*_TEMP*<br><br># Maximum number of services to discover (prevents system overload)<br>ODATA_MAX_SERVICES=50<br><br># Discovery mode: &#39;all&#39;, &#39;whitelist&#39;, &#39;regex&#39;<br>ODATA_DISCOVERY_MODE=whitelist</pre><p>Guidance:</p><ul><li>Start narrow with allowlists, then expand as needed</li><li>Keep ODATA_MAX_SERVICES reasonable to prevent discovery spikes</li></ul><h3>5) Build and deploy to Cloud Foundry</h3><p>Time to ship. Use the provided npm scripts and the CF CLI target you prepared earlier.</p><pre>npm run build:btp<br>cf login -a &lt;cf api endpoint of BTP&gt;<br>npm run deploy:btp</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*Da_9fX8Tc1R1IWyP" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*dANawKPO2D0K5Kip" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*rOhu3VJrCi3ePCZj" /></figure><p>When deployment finishes, you’ll see your app listed in the space:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/0*BdwijmsQa1-s4rCc" /></figure><p>Copy the application URL — you’ll use it in your MCP client.</p><h3>6) Retrieve an access token from XSUAA</h3><p>Your MCP client will authenticate using an OAuth token issued by XSUAA.</p><ol><li>In the BTP account, go to Services &gt; Instances and Subscriptions</li><li>Open your XSUAA instance (for example, sap-mcp-xsuaa-dev) or the relevant service key</li><li>Find the service key named mykey and collect:</li></ol><ul><li>client_id</li><li>clientsecret</li><li>url: <a href="https://your_url/oauth/token">https://your_url/oauth/token</a></li></ul><p>4. Add the credentials to access_token_<a href="http://mcp.py/">mcp.py</a></p><p>5. Run the script to get a bearer token:</p><ul><li>python access_token_<a href="http://mcp.py/">mcp.py</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*d3VX97u-iK7KhfAj" /></figure><h3>7) Configure your MCP client (e.g., GitHub Copilot)</h3><p>With your application URL and access token in hand, configure the client:</p><ul><li>MCP Server URL: the application URL from your deployed app</li><li>Authorization: Bearer &lt;your access token&gt;</li></ul><p>That’s it — your MCP client can now talk to the server hosted on BTP, subject to the OData service discovery rules you set in .env.</p><h3>MCP Server Tools Explained</h3><p>The server automatically generates four types of tools for each SAP OData entity it discovers:</p><h3>Tool Naming Pattern</h3><p>{operation}-{serviceId}-{entityName}</p><p>Example: r-API_BUSINESS_PARTNER-BusinessPartner</p><h3>Four Tool Types</h3><ul><li><strong>Read (r-):</strong> Query entities with filtering, sorting, and pagination. Supports both collection queries and single entity retrieval by key</li><li><strong>Create (c-):</strong> Create new entities with validation against the OData metadata schema</li><li><strong>Update (u-):</strong> Modify existing entities using PATCH operations for partial updates</li><li><strong>Delete (d-):</strong> Remove entities by their unique identifier</li></ul><h3>How Tools Are Generated</h3><ol><li>Server discovers OData services via the catalog API</li><li>Parses entity metadata and schemas</li><li>Creates CRUD tools dynamically for each entity</li><li>Registers tools with the MCP protocol layer</li></ol><h3>Natural Language → Tool Execution</h3><ul><li><strong>“Show me 10 banks”</strong> → Automatically queries the Bank entity with $top=10</li><li><strong>“Update bank with ID 1 to have street number 5”</strong> → Executes PATCH operation on Bank entity</li><li><strong>“Create a new customer with name John Doe”</strong> → Performs POST to Customer entity</li><li><strong>“List all purchase orders from this week”</strong> → Applies $filter for date range on PurchaseOrder entity</li></ul><p>Each tool includes parameter schemas, input validation, and context-aware help text — making them immediately usable by AI agents without additional configuration.</p><h3>Troubleshooting essentials</h3><ul><li><strong>Destination connection fails</strong></li></ul><p>Double-check URL, user, password, and Proxy Type = Internet</p><p>Ensure the backend is reachable from the public internet</p><ul><li><strong>No OData services discovered</strong></li></ul><p>Temporarily set ODATA_ALLOW_ALL=true to test connectivity</p><p>Adjust ODATA_SERVICE_PATTERNS or switch ODATA_DISCOVERY_MODE</p><ul><li><strong>Deployment hiccups</strong></li></ul><p>Verify cf target points to correct org and space</p><p>Re-run npm run build:btp before redeploying</p><ul><li><strong>Token errors</strong></li></ul><p>Confirm client_id, clientsecret, and token url from the service key</p><p>Check local system time to avoid JWT validation issues</p><h3>Security reminders</h3><ul><li>Never commit .env or service keys</li><li>Prefer BTP-managed bindings in production</li><li>Keep allowlists tight and rotate credentials periodically</li></ul><h3>Additional background</h3><p>If you’re new to SAP BTP and Destinations, here’s a quick refresher on how they fit into this setup and why they’re ideal for MCP deployments.</p><h3>What is SAP Business Technology Platform (BTP)?</h3><p>SAP BTP is SAP’s integrated platform-as-a-service for building, extending, and integrating business applications. It provides database and data management (e.g., SAP HANA Cloud), app development and integration services, analytics, and intelligent technologies such as AI and IoT. It supports multi-cloud deployment, deep SAP and non-SAP integration, and strong security capabilities — all of which make it a solid home for an MCP server.</p><h3>Understanding Destinations in SAP BTP</h3><p>Destinations are managed connection definitions. They centralize URLs, authentication, and additional properties, and they support various auth methods like Basic and OAuth. In this guide, a Destination lets the MCP server reach your SAP backend without hardcoding credentials, and makes environment changes trivial.</p><p>You now have a clean, secured path from SAP backend → BTP Destination → MCP server → MCP client. Keep iterating on your OData discovery patterns to curate exactly what services your client can see, and you’ll maintain a healthy balance between flexibility and safety.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c1b1702b5ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exposing a MCP server as a fastapi application:]]></title>
            <link>https://medium.com/@bipulbibek/exposing-a-mcp-server-as-a-fastapi-application-983b5bb4b34a?source=rss-e52e264e248e------2</link>
            <guid isPermaLink="false">https://medium.com/p/983b5bb4b34a</guid>
            <dc:creator><![CDATA[Bibek Barik]]></dc:creator>
            <pubDate>Mon, 27 Oct 2025 17:17:34 GMT</pubDate>
            <atom:updated>2025-10-27T17:17:34.478Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Build once. Deploy anywhere. Expose your Model Context Protocol (MCP) tools over a clean FastAPI surface.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*CXTsIjNEvmyUVkoKurIOSA.png" /></figure><h3>Overview</h3><p>This post walks through turning a simple MCP server into a FastAPI app, explains exactly how the mounting and lifecycle work, and shows practical deployment patterns on cloud platforms. It also covers how to host multiple MCP servers behind a single, common URL.</p><p>Refer the github repository for the codebase: (<a href="https://github.com/BibekBarik18/MCP-server-as-a-FastAPI-application">https://github.com/BibekBarik18/MCP-server-as-a-FastAPI-application</a>)</p><h3>What is MCP in this context?</h3><p>MCP (Model Context Protocol) lets you expose “tools” that a client can call. The FastMCP helper from mcp.server.fastmcp turns those tools into an HTTP application you can embed or mount inside a web framework like FastAPI.</p><h3>Part 1 — The MCP server</h3><p>math_server.py</p><pre>from mcp.server.fastmcp import FastMCP<br><br>mcp = FastMCP(name=&quot;MathServer&quot;, stateless_http=True)<br>@mcp.tool(description=&quot;A simple add tool&quot;)<br>def add_two(n: int) -&gt; int:<br>    return n + 2</pre><p>Key points:</p><ul><li>FastMCP(name=&quot;MathServer&quot;) defines an MCP app and collects tools you decorate.</li><li>@mcp.tool(...) registers add_two as an MCP tool callable over HTTP/WebSocket.</li><li>stateless_http=True optimizes for ephemeral HTTP calls. This is ideal for serverless and container autoscaling where per-request setup/teardown is preferable to sticky state.</li></ul><h3>Part 2 — Embedding MCP in FastAPI</h3><p><a href="http://main.py/">main.py</a></p><pre>import contextlib<br>from fastapi import FastAPI<br>from math_server import mcp<br>import os<br><br>@contextlib.asynccontextmanager<br>async def lifespan(app: FastAPI):<br>    async with contextlib.AsyncExitStack() as stack:<br>        # Start MCP runtime and keep it alive for the app lifecycle<br>        await stack.enter_async_context(mcp.session_manager.run())<br>        yield<br><br>app = FastAPI(lifespan=lifespan)<br><br># Mount the MCP HTTP app at /echo<br>app.mount(&quot;/echo&quot;, mcp.streamable_http_app())<br>PORT = int(os.environ.get(&quot;PORT&quot;, 10000))<br><br>if __name__ == &quot;__main__&quot;:<br>    import uvicorn<br>    uvicorn.run(app, host=&quot;0.0.0.0&quot;, port=PORT)</pre><p>How it works:</p><ul><li>Lifespan: mcp.session_manager.run() is entered during app startup and held open until shutdown. This ensures MCP is ready to serve requests across workers.</li><li>Mounting: app.mount(&quot;/echo&quot;, mcp.streamable_http_app()) attaches a dedicated Starlette-compatible sub-application under the path prefix /echo.</li><li>Routes of the MCP app are now available under /echo/mcp.</li><li>If the MCP app exposes an endpoint like /mcp, the full path becomes /echo/mcp.</li></ul><p>Run locally:</p><pre>uvicorn main:app --reload</pre><p>Then call the MCP endpoints under:</p><ul><li>http://localhost:10000/echo/... (for default PORT 10000)</li><li>If your MCP tool router exposes /mcp, use <a href="http://localhost:10000/echo/mcp">http://localhost:10000/echo/mcp</a>.</li></ul><h3>API surface and request flow</h3><ul><li>Client sends HTTP request to FastAPI at /echo/....</li><li>FastAPI forwards matching paths to the mounted MCP sub-app.</li><li>The MCP app resolves the tool (e.g., add_two) and executes it.</li><li>Response is serialized back through FastAPI to the client.</li></ul><p>This separation keeps your main FastAPI routes and the MCP tool surface neatly partitioned.</p><h3>Cloud deployment patterns</h3><p>Why this works well in the cloud:</p><ul><li>Stateless by default: Good fit for serverless and horizontal autoscaling.</li><li>Predictable surface: All MCP routes live under a single mount path, easy to protect with auth or rate limits.</li><li>Performance: Uvicorn + async lifecycle keeps overhead low.</li></ul><p>Security considerations:</p><ul><li>Add authentication, e.g., API keys or OAuth, at the FastAPI layer.</li><li>Rate limit or use a WAF/CDN for public endpoints.</li><li>Validate tool inputs. Even simple math tools should check types and ranges if exposed publicly.</li></ul><h3>Hosting multiple MCP servers under a common URL</h3><p>You can mount several MCP apps under a shared base prefix to create a unified surface like /mcp.</p><p>Example with multiple servers:</p><pre>import contextlib<br>from fastapi import FastAPI<br>from echo_server import mcp as echo_mcp<br>from math_server import mcp as math_mcp<br>import os<br><br># Create a combined lifespan to manage both session managers<br>@contextlib.asynccontextmanager<br>async def lifespan(app: FastAPI):<br>    async with contextlib.AsyncExitStack() as stack:<br>        await stack.enter_async_context(echo_mcp.session_manager.run())<br>        await stack.enter_async_context(math_mcp.session_manager.run())<br>        yield<br><br>app = FastAPI(lifespan=lifespan)<br><br>app.mount(&quot;/echo&quot;, echo_mcp.streamable_http_app())<br>app.mount(&quot;/math&quot;, math_mcp.streamable_http_app())<br><br>PORT = os.environ.get(&quot;PORT&quot;, 10000)<br><br>if __name__ == &quot;__main__&quot;:<br>    import uvicorn<br>    uvicorn.run(app, host=&quot;0.0.0.0&quot;, port=PORT)</pre><p>This yields endpoints like:</p><ul><li>/echo/mcp</li><li>/math/mcp</li></ul><p>All share a single host and common top-level path, which simplifies routing, DNS, auth, and observability. You can also mix in ordinary FastAPI routes at /api/... alongside MCP mounts.</p><p>Tip: If you need a single OpenAPI surface, keep MCP sub-apps mounted and expose a top-level FastAPI route describing the available MCP paths.</p><h3>Troubleshooting tips</h3><ul><li>If you expect /mcp but get 404s, remember the mount prefix. With app.mount(&quot;/echo&quot;, ...), the actual path is /echo/mcp.</li><li>Confirm PORT alignment between your code and the platform.</li><li>For concurrency-heavy workloads, run multiple workers: uvicorn main:app --host 0.0.0.0 --port $PORT --workers 2.</li></ul><h3>Summary</h3><ul><li>Define tools with FastMCP and @mcp.tool.</li><li>Start the MCP runtime in FastAPI’s lifespan to manage sessions.</li><li>Mount the MCP app with app.mount(prefix, mcp.streamable_http_app()).</li><li>Deploy to any cloud that runs ASGI apps or containers.</li><li>Scale out easily, and host multiple MCP servers behind a single common URL like /.../mcp.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=983b5bb4b34a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference Between == and .equals() in Java]]></title>
            <link>https://medium.com/@bipulbibek/difference-between-and-equals-in-java-97c98f39e321?source=rss-e52e264e248e------2</link>
            <guid isPermaLink="false">https://medium.com/p/97c98f39e321</guid>
            <dc:creator><![CDATA[Bibek Barik]]></dc:creator>
            <pubDate>Sat, 14 Dec 2024 13:04:08 GMT</pubDate>
            <atom:updated>2024-12-14T13:04:08.516Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Difference Between == and .equals() in Java</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*ZyvuxtuFHfpR5TCAchUYQA.png" /></figure><p>When comparing data in Java, you’ll often use == or .equals(). While they seem similar, they have key differences that impact how objects and primitives are compared.</p><p><strong>1️⃣ Primitives vs Objects</strong></p><ul><li><strong>Primitives (int, float, char, etc.) </strong>store values directly in memory, are stored on the stack, and are more memory-efficient.</li><li><strong>Objects </strong>are instances of classes, store references (not actual data) in memory, and are stored in the heap. Objects can be null and come with methods from wrapper classes (like Integer, Double, etc.).</li></ul><p><strong>2️⃣ What is ==?</strong></p><p><strong>The == operator compares values for primitives and memory references for objects.</strong></p><ul><li><strong>For Primitives: </strong>Compares values directly.</li></ul><p>int a = 10;</p><p>int b = 10;</p><p>System.out.println(a == b); // true (values are the same)</p><ul><li><strong>For Objects: </strong>Compares memory addresses (not content).</li></ul><p>String s1 = new String(“Hello”);</p><p>String s2 = new String(“Hello”);</p><p>System.out.println(s1 == s2); // false (different memory addresses)</p><p><strong>When to Use ==?</strong></p><ul><li>To compare primitive values.</li><li>To check if two references point to the same object in memory.</li></ul><p><strong>3️⃣ What is .equals()?</strong></p><p><strong>The .equals() method checks if two objects have the same logical content.</strong></p><ul><li><strong>For Objects: </strong>Compares content, not memory addresses.</li></ul><p>String s1 = new String(“Hello”);</p><p>String s2 = new String(“Hello”);</p><p>System.out.println(s1.equals(s2)); // true (content is the same)</p><p>By default, .equals() behaves like == (reference check) unless overridden, as done in classes like String, Integer, and Double.</p><p><strong>When to Use .equals()?</strong></p><ul><li>To check if the contents of two objects are logically the same.</li><li>Use with classes that override .equals() (like String, Integer, etc.).</li></ul><p><strong>🔍 Summary</strong></p><ul><li>Use == for primitives and to check if two references point to the same object.</li><li>Use .equals() to check if object contents are logically equal.</li></ul><p><strong>Understanding this distinction helps you write more efficient, bug-free Java programs. Have questions or want more examples? Let me know! 🚀</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97c98f39e321" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Zero Interest to LeetCoder: A Journey of Problem-Solving]]></title>
            <link>https://medium.com/@bipulbibek/from-zero-interest-to-leetcoder-a-journey-of-problem-solving-cb6174c71730?source=rss-e52e264e248e------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb6174c71730</guid>
            <dc:creator><![CDATA[Bibek Barik]]></dc:creator>
            <pubDate>Sat, 10 Aug 2024 16:54:04 GMT</pubDate>
            <atom:updated>2024-08-10T16:54:04.359Z</atom:updated>
            <content:encoded><![CDATA[<p>“If you want to master anything, you need to develop an interest in what you do.” I am a person with a thirst for knowledge and a curiosity about how things work. I have a passion for exploring things that I find difficult or intimidating. Challenges thrill me. In this article, I will be sharing my journey from not liking computer science to becoming someone who loves solving problems.</p><p>Being a person who studied biology, I had little interest in computer science. I found computer science to be like rocket science, something that could only be understood by aliens. This made it difficult for me to understand how things worked in computers. However, out of curiosity, when I started learning how each syntax worked, I developed a habit of wanting to know more. So, I began solving problems by writing them down on paper and understanding each step of the program.</p><p>Through suggestions, I learned about a platform called HackerRank, where I could challenge myself to solve programs of higher difficulty levels. It enhanced my problem-solving skills, and I became addicted to solving problems. The thrill of seeing my code work after several failed attempts ignited something in me. For the first time, I felt a sense of accomplishment from coding. As I solved more problems, I noticed a change in my mindset. What once seemed intimidating now felt like an exciting puzzle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z-yOQXSALGTYElii4iG00g.jpeg" /></figure><p>The more I practiced, the more I wanted to improve. This led me to discover LeetCode, a platform known for its difficult problem statements. LeetCode presented a whole new level of challenge for me. I used to spend nearly two days solving a single problem. However, I endured this phase of my life with patience, driven by my interest in facing things that tested me. I began to dedicate time every day to solving problems on LeetCode. The problems that once took me hours to solve now took less time. I became more comfortable with complex algorithms and could tackle harder problems.</p><p>My journey from having no interest in coding to becoming a LeetCoder has taught me not to be afraid of making mistakes. Even if a mistake caused a program to not run as intended, it might execute in a different way, producing an unexpected output that could lead to a new discovery. Curiosity, persistence, and a willingness to challenge yourself can help you overcome any obstacle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb6174c71730" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>