refact: make a better performing by using double loops once but failed because of the failure of the preventing to use duplicated elements
refact: make a better performing by using double loops once but failed because of the failure of the preventing to use duplicated elements

jsong00505/Coding-Practice,jsong00505/Coding-Practice