Single Element in a Sorted Array
You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once.
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!”
You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once.
Read more →Find all valid combinations of k numbers that sum up to n such that the following conditions are true:
Read more →Given a positive integer n, generate an n x n matrix filled with elements from 1 to n2 in spiral order.
Read more →Given a string s and a string array dictionary, return the longest string in the dictionary that can be formed by deleting some of the given
Read more →Given an array of intervals intervals where intervals[i] = [starti, endi], return the minimum number of intervals you need to remove to make the rest of the int
Read more →Given an array of strings strs, return the length of the longest uncommon subsequence between them. If the longest uncommon
Read more →