THE QUESTION
Text from the official booklet. Refer to the PDF for original mathematical notation, formatting, and linked input files. Printed samples and inputs are reproduced as published.
You are given an array of 100 module names. Find the index of the target value. If not found, print −1. Indexing starts at 0. modules = "alpha-core", "servo-77", "ion-boost", "gamma-node", "omega- drive", "proto-9", "xeno-chip", "ultra-link", "quantum-port", "drone- 42", "zeta-coil", "mecha-118", "fusion-rail", "delta-hub", "arc-17", "astro-unit", "hyper-cell", "nano-gear", "plasma-lock", "core-omega", "vortex-lens", "robot-axle", "spectra-99", "matrix-7", "cyber-pulse", "unit-404", "titan-core", "synth-wave", "ionizer-5", "gearshift-88", "mech-loop", "nano-shield", "ultra-piston", "laser-grid", "alpha-jet", "servo-12", "byte-claw", "omega-circuit", "drone-77", "zeta-frame", "rho-spark", "core-fusion", "hyper-rotor", "nano-sphere", "arc-29", "xenon-flare", "plasma-rod", "ion-rider", "core-sigma", "proto-88", "flux-torque", "robot-armature", "stellar-bolt", "quantum-relay", "zeta- blade", "fusion-reactor", "delta-spark", "omega-thruster", "drone-19", "mega-crank", "core-dynamo", "hyper-drive", "ion-pulse", "servo-900", "alpha-shield", "neutron-link", "gear-lock", "vector-71", "ultra- guard", "plasma-wave", "robot-fang", "matrix-88", "core-helix", "arc- 504", "synth-core", "omega-burst", "quantum-spike", "gamma-torque", "proto-11", "laser-core", "robot-spire", "fusion-cell", "ion-drift", "delta-node", "mega-unit", "core-surge", "xeno-lens", "ultra-pulse", "servo-55", "arc-omega", "robot-kernel", "nano-core", "hyper-blade", "plasma-ring", "quantum-array", "spectra-core", "drone-501", "omega- vault", "core-prime", "zeta-engine"] Input: delta-spark