Check if Two Trees are Identical
Given two binary trees, check if they are exactly the same in structure and value.
T1=[1,2], T2=[1,2]TruePattern breakdown, verified question volume, and topic weights based on recent candidate interview reports.
Capgemini campus assessment is commonly reported to feature a Pseudocode round (testing data structures, algorithms, and code tracing), an English Communication test, Game-based Aptitude challenges (memory, spatial reasoning), and a Coding assessment with 2 problems testing basic sorting, strings, and array manipulation.
Given two binary trees, check if they are exactly the same in structure and value.
T1=[1,2], T2=[1,2]TrueWhat is the return value of func(5) for: int func(int n) { if (n <= 1) return 1; return n + func(n - 1); }
Find the length of the last word in a sentence string, ignoring trailing spaces.
'Hello World '5Access the complete Capgemini placement question bank, live code execution against test cases, AI-guided debugging hints, and placement readiness scores.
Pre-configures Capgemini as your target company during onboarding. Free student access.