1700 - 1799
Solutions categorised by Problem IDs
1704 - Determine if String Halves Are AlikeCheck whether the two halves of a string are alike by comparing their vowel counts without regard to letter case.1706 - Where Will the Ball FallTrace each falling ball through a grid of slanted boards and detect where a wall or V-shaped channel traps it.1727 - Largest Submatrix With RearrangementsFind the largest all-ones submatrix after column rearrangements by sorting consecutive column heights within each row.1748 - Sum of Unique ElementsSum the values that occur exactly once in an array by first counting their frequencies.1751 - Maximum Number of Events That Can Be Attended IIMaximize the value of up to k nonoverlapping events by combining compatible schedules with dynamic programming.1758 - Minimum Changes To Make Alternating Binary StringCount mismatches against both possible alternating binary patterns and take the smaller number of changes.1762 - Buildings With an Ocean ViewFind buildings with an ocean view by scanning from the ocean side and tracking the tallest building seen.1768 - Merge Strings AlternatelyMerge two strings by alternating characters until one is exhausted, then append the remaining suffix.1770 - Maximum Score from Performing Multiplication OperationsMaximize the score from successive multipliers by choosing an element from either end of the array at each step.1779 - Find Nearest Point That Has the Same X or Y CoordinateFind the nearest point sharing an x or y coordinate using Manhattan distance and the earliest index as a tiebreaker.1790 - Check if One String Swap Can Make Strings EqualCheck whether at most one character swap can make two strings equal by examining their mismatched positions.1791 - Find Center of Star GraphIdentify the center of a star graph by finding the endpoint shared by its first two edges.1793 - Maximum Score of a Good SubarrayMaximize the score of a subarray containing a given index by querying interval minima with a sparse table.