Código C al convertidor Java
#include <stdio.h>
Tumbling Helmet
#include <stdio.h>
#include<stdio.h>
class Solution {
public int findMinArrowShots(int[][] points) {
Arrays.sort(points, (a,b) -> Integer.compare(a[1], b[1]));
int arrow = 1;
int end = points[0][1];
for(int i = 1;i < points.length;i++){
if(points[i][0] > end){
arrow++;
end = points[i][1];
}
}
return arrow;
}
}