Mallikarjuna·Mar 30, 2025Gas Station (Greedy-problem)There are some gas stations along a circular route. You are given two integer arrays gas[] denoted as the amount of gas present at each…
Mallikarjuna·Mar 28, 2025Maximum Number of Points From Grid Queries(Leetcode : 2503)You are given an m x n integer matrix grid and an array queries of size k.
Mallikarjuna·Mar 27, 2025Minimum Platforms (GFG)I solved a problem from GFG today with naive and optimal approach.Let’s see how I go from naive to optimal..