Maximum Length of Subarray With Positive Product
Given an array of integers nums, find the maximum length of a subarray where the product of all its elements is positive.
Read more →Welcome to Hazrat Ali, Problem Solving Website “At Hazrat Ali, we provide a platform for aspiring problem solvers and developers to sharpen their coding and algorithmic skills. Whether you’re a beginner or an advanced coder, our wide range of challenges and resources will help you grow. From mastering data structures and algorithms to participating in competitive coding contests, we offer tools and a community that supports your journey in programming. Explore our curated problems, get involved in discussions, and start Solving problems that will elevate your coding expertise. Join us today and start your problem-Solving adventure!”
Given an array of integers nums, find the maximum length of a subarray where the product of all its elements is positive.
Read more →Given an array of integers arr, return the number of subarrays with an odd sum.
Read more →Given a m * n matrix of ones and zeros, return how many square submatrices have all ones.
Read more →You are given a binary array nums, you should delete one element from it.
Read more →We had some 2-dimensional coordinates, like "(1, 3)" or "(2, 0.5)". Then, we removed all commas, decimal points, and spaces and ended up with the string s.
Read more →Given an integer array nums, return the maximum possible sum of elements of the array such that it is divisible by three.
Read more →