Leetcode problem 77 - H-Index
Given an array of integers citations where citations[i] is the number of citations a researcher received for their ith paper, return the researcher’s h-index.
Given an array of integers citations where citations[i] is the number of citations a researcher received for their ith paper, return the researcher’s h-index.
You are given a 0-indexed array of integers nums of length n. You are initially positioned at nums[0].
Given an integer array nums, rotate the array to the right by k steps, where k is non-negative.
Given an array nums of size n, return the majority element.
Given an integer array nums sorted in non-decreasing order, remove some duplicates in-place such that each unique element appears at most twice. The relative...