Exclusive Time of Functions
On a single-threaded CPU, we execute a program containing n functions. Each function has a unique ID between 0 and n-1.
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!”
On a single-threaded CPU, we execute a program containing n functions. Each function has a unique ID between 0 and n-1.
Read more →Given an m x n matrix board where each cell is a battleship 'X' or empty '.', return the number of the battleships on board.
Read more →Given an integer array nums, return the number of longest increasing subsequences.
Read more →A super ugly number is a positive integer whose prime factors are in the array primes.
Read more →Given an integer array nums, return the length of the longest strictly increasing subsequence.
Read more →You are given an integer array nums of length n where nums is a permutation of the numbers in the range [0, n - 1].
Read more →