
這道題要注意的點(diǎn)主要為:1、 一開始還考慮為負(fù)數(shù)設(shè)個flag寝并,先把負(fù)數(shù)變成正數(shù)箫措,計(jì)算之后再變回去。實(shí)際沒有必要衬潦,JAVA里面對負(fù)數(shù)取模還是負(fù)數(shù)斤蔓,所以不影響運(yùn)算結(jié)果。2镀岛、開始還...
題目 Given a string, find the length of the longest substring without repeating character...
題目描述 You are given two linked lists representing two non-negative numbers. The digits a...