It was as follows:
cpp bool isMirror(Node* tree1, Node* tree2) { bool ret_val = false; if(tree1 != null && tree2 != null) { ret_val = (tree1->m_data == tree2->m_data) && isMirror(tree1->m_lhs, tree2->m_rhs) && isMirror(tree1->m_rhs, tree2->m_lhs); } return (tree1 == null && tree2 == null) ? true : ret_val; }
How do you apply quantum mechanics to data mining?
Sadly, the interviewer did not seem to know the answer to a very basic question. Even the most mediocre physics undergraduate could answer it in under five minutes.
The following metrics were computed from 1 interview experience for the LinkedIn Senior Software Engineer role in United Kingdom.
LinkedIn's interview process for their Senior Software Engineer roles in the United Kingdom is extremely selective, failing the vast majority of engineers.
Candidates reported having very negative feelings for LinkedIn's Senior Software Engineer interview process in United Kingdom.