Pergunta de entrevista da empresa Bloomberg

In C++, can a class without construtor compile? What will be automatic generated by the compiler for a class? What's the difference between pointer and reference?

Resposta da entrevista

Sigiloso

17 de fev. de 2016

Given n stars in the galaxy and a distant d, if the distance between two starts are smaller then d, they are in the same group. Count the total number of groups in the galaxy.