Coding Blog
⚠️ I am in process of migrating coding blogs from Confluence. Stay tuned! ⚠️
Given an array of strings, return all groups of strings that are anagrams with performant time complexity.
Suppose there is a circle. There are n petrol pumps on that circle with constant petrol. Find a starting point where the truck can start to get through the complete circle without exhausting its petrol in between.
Given a number N, the task is find the number of ways to represent this number as a sum of two or more consecutive natural numbers.
Given a Directed Graph with V vertices (Numbered from 0 to V-1) and E edges, check whether it contains any cycle or not.
Given a Directed Graph with V vertices (Numbered from 0 to V-1) and E edges, check whether it contains any cycle or not.
Given the starting pixel in an image, flood fill the image only through 4-directional neighbors.
Given an equation in the form 2^i * 3^j * 5^k * 7^l , where i, j, k, l > 0 and are integers. Generate first N numbers from that equation in sorted order efficiently.