mahima95 / leetcode

0 stars 0 forks source link

Handling a pointer object #1

Open BalajiJBcs opened 5 years ago

BalajiJBcs commented 5 years ago

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

mahima95 commented 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.

https://github.com/mahima95/leetcode/blob/96095d38d7bda060053af7168dd43d5401605f6f/Add%20Two%20Numbers#L11

— 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 .