Solución
solution.tsTypeScript
import java.util.*;
public class Solution {
public List<String> extractKeys(Map<String, Object> obj) {
List<String> result = new ArrayList<>();
for (Map.Entry<String, Object> entry: obj.entrySet()){
result.add(entry.getKey());
}
return result;
}
}
0respuestas