Open BalajiJBcs opened 5 years ago
Got it Thanks! Made the change! https://github.com/mahima95/leetcode/blob/master/Add%20Two%20Numbers
Sincerely,
Mahima R.Gupta Arizona State University
On Wed, 7 Aug 2019 at 20:41, BALAJI.J.B notifications@github.com wrote:
In real life code, you should check the undefined condition and then proceed otherwise this will cause an issue if curr doesn't have a value. Have an eye on this kind of things always.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mahima95/leetcode/issues/1?email_source=notifications&email_token=AEEUFYXMKNHQ5PYTUJTYB4DQDOIU7A5CNFSM4IKGBZKKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HEBI4OA, or mute the thread https://github.com/notifications/unsubscribe-auth/AEEUFYS5KC3HSCZEQUTOMSLQDOIU7ANCNFSM4IKGBZKA .
In real life code, you should check the undefined condition and then proceed otherwise this will cause an issue if curr doesn't have a value. Have an eye on this kind of things always.
https://github.com/mahima95/leetcode/blob/96095d38d7bda060053af7168dd43d5401605f6f/Add%20Two%20Numbers#L11