Author name: Admin

Longest Common Substring

gfg-potd

You are given two strings str1 and str2. Your task is to find the length of the longest common substring among the given strings. Examples:

40. Combination Sum II

leetcode-potd

Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numbers

Job Sequencing Problem

gfg-potd

Given a set of n jobs where each jobi has a deadline and profit associated with it. Each job takes 1 unit of time to complete

Rotate a Linked List

gfg-potd

Given the head of a singly linked list, the task is to rotate the linked list clockwise by k nodes, i.e., left-shift the linked list by k nodes, where k is a

Scroll to Top