Author name: Admin

Longest Consecutive Subsequence

gfg-potd

Given an array arr[] of non-negative integers. Find the length of the longest sub-sequence such that elements in the subsequence are consecutive integers, the consecutive […]

494. Target Sum

leetcode-potd

You are given an integer array nums and an integer target. You want to build an expression out of nums by adding one of the

Search in a sorted Matrix

gfg-potd

Given a strictly sorted 2D matrix mat[][] of size n x m anda number x. Find whether the number x is present in the matrix or not.Note:

Scroll to Top