Questions / MathWorks

Maximum K-Star Sum

Asked at MathWorks · Coding Questions · Difficulty: Medium · Last asked Sep 13, 2025

Given an undirected graph with a value on each node, choose a star subgraph with at most `k` arms that maximizes the sum of the center plus selected neighbor values.

Loading the problem…

More MathWorks interview questions

  • EDG HireVue Screen
  • Investable Periods
  • Load Balancing
  • String Transformation Length
  • Odd One Out
  • Login Arrays Segment Compression
All MathWorks questions