3 ms·The time and memory complexity are pretty severe with this method.by professor_plum 9y agoThe time and memory complexity are pretty severe with this method.