标签归档:leetcode

RSS feed of leetcode

[LeetCode]Complex Number Multiplication

题目描述:

LeetCode 537. Complex Number Multiplication

Given two strings representing two complex numbers.

You need to return a string representing their multiplication. Note i2 = -1 according to the definition.

Example 1:

Input: "1+1i", "1+1i"
Output: "0+2i" ...

继续阅读

LeetCode Weekly Contest 24解题报告

LeetCode Weekly Contest 24是LeetCode举办的第二十九场正式周赛,共4道题目,比赛时长1.5小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-24/

题解列表:

LeetCode 543. Diameter of Binary Tree

LeetCode 538. Convert BST to Greater Tree

LeetCode 542. 01 Matrix

LeetCode 544. Output Contest Matches