C3 AI logo

C3 AI Interview Question Bank

C3 AI runs a compact, hiring-manager-led loop: a short behavioral conversation with the manager comes first, followed by a two-round onsite of coding and system design where design interviewers push hard on deep dives. New-grad Forward Deployed Engineer candidates start with a HackerRank assessment that blends CS fundamentals, applied-AI judgment, and practical coding.

Coding problems
7
Before you start
Showing 54 of 54
Coding
Single reportFree preview

Star Sum: Best k-Star Sum in a Graph

HackerRank OA coding task: given an undirected graph with node values and an integer k, return the maximum sum of a star subgraph (a center plus at most k neighbors). Function bestSumKStar(g_nodes, g_from, g_to, values, k); up to 1e5 nodes/edges, values in [-1000, 1000], k may be 0.

SWE
graph
1 related discussion