- Example 5:
- Input: ["c==c","b==d","x!=z"]
- Output: true
- Note:
- 1 <= equations.length <= 500
- equations[i].length == 4
- equations[i][0] and equations[i][3] are lowercase letters
- equations[i][1] is either '=' or '!'
- equations[i][2] is '='
来源: http://www.bubuko.com/infodetail-3036159.html