← All problemsSign in

537. Complex Number Multiplication

LeetCodeMathStringSimulationOpen on judge ↗

A complex number can be represented as a string on the form "real+imaginaryi" where: - real is the real part and is an integer in the range [-100, 100]. - imaginary is the imaginary part and is an integer in the range [-100, 100]. - i2 == -1. Given two complex numbers num1 and num2 as strings, return a string of the complex number that represents their multiplications. Example 1: Input: nu

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start