Given an array of integers, every element appears three times except for one. Find that single one.
位运算, 但是最后算值的时候直接用2的次方计算的, 这样负数就出问题啦, 所以还得位运算。
Given an array of integers, every element appears three times except for one. Find that single one.
位运算, 但是最后算值的时候直接用2的次方计算的, 这样负数就出问题啦, 所以还得位运算。
本文标题:137. Single Number II
本文链接:https://www.haomeiwen.com/subject/prcnmttx.html
网友评论