Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index.
Follow up for "Search in Rotated Sorted Array":
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.