Domanda di colloquio di BlackRock

Given a list of objects, use stream API to group objects based on place, after that convert the same code to SQL.

Risposta di colloquio

Anonimo

19 ago 2024

For Stream APIs, I used groupingBy, and SQL is pretty simple with the GROUP BY clause