rajkumar karne (to Everyone): 21:47: 64k Aman Poonia (to Everyone): 21:48: 2147483647 rajkumar karne (to Everyone): 21:48: 1024 Ravi Shanker Kumar (to Everyone): 21:48: 1024 Poonam (to Everyone): 21:48: 024 Poonam (to Everyone): 21:48: 1024 Ravi Shanker Kumar (to Everyone): 21:56: 15 Ravi Shanker Kumar (to Everyone): 22:05: right to left rajkumar karne (to Everyone): 22:07: ia-- Ravi Shanker Kumar (to Everyone): 22:08: till small string length reach Ravi Shanker Kumar (to Everyone): 22:10: a[ia] -'0' Ravi Shanker Kumar (to Everyone): 22:12: digitSum/10 Rajat (to Everyone): 22:13: if (sum >9) carry = 1 Ravi Shanker Kumar (to Everyone): 22:17: 2 Ravi Shanker Kumar (to Everyone): 22:18: carry will be 1 rajkumar karne (to Everyone): 22:24: BigInteger i guess Ravi Shanker Kumar (to Everyone): 22:33: =10^18 Ravi Shanker Kumar (to Everyone): 22:34: use formula Ravi Shanker Kumar (to Everyone): 22:35: the loop will traversal o(n) Ravi Shanker Kumar (to Everyone): 22:36: loop will start from o or i <=t Poonam (to Everyone): 22:36: iN=t Ravi Shanker Kumar (to Everyone): 22:37: i<=t Ravi Shanker Kumar (to Everyone): 22:37: no new line Ravi Shanker Kumar (to Everyone): 22:37: same line only Ravi Shanker Kumar (to Everyone): 22:39: long typecast Ravi Shanker Kumar (to Everyone): 22:41: -ve value Ravi Shanker Kumar (to Everyone): 22:41: or overflow Rajat (to Everyone): 22:41: -2147483648 rajkumar karne (to Everyone): 22:44: yes Ravi Shanker Kumar (to Everyone): 22:45: 3b 8 g Ravi Shanker Kumar (to Everyone): 22:47: two vairable boySum and girlSum Ravi Shanker Kumar (to Everyone): 22:48: diff = boySum -girlSum Ravi Shanker Kumar (to Everyone): 22:48: if(diff<0){ Ravi Shanker Kumar (to Everyone): 22:48: diff = -diff; Ravi Shanker Kumar (to Everyone): 22:48: } Poonam (to Everyone): 22:51: taking care of data types is very important rajkumar karne (to Everyone): 22:51: new view on numbers Ravi Shanker Kumar (to Everyone): 22:51: edge case Ravi Shanker Kumar (to Everyone): 22:51: corner use case Ravi Shanker Kumar (to Everyone): 22:53: and more important dry run before submitting Ravi Shanker Kumar (to Everyone): 23:01: string charAt(i) Ravi Shanker Kumar (to Everyone): 23:01: 2nd one Ravi Shanker Kumar (to Everyone): 23:03: zero can create the problem Ravi Shanker Kumar (to Everyone): 23:03: 3210 ==>0123 Ravi Shanker Kumar (to Everyone): 23:14: check length of array >=3 Poonam (to Everyone): 23:17: we have to go till n-2 Ravi Shanker Kumar (to Everyone): 23:18: arrayIndexbound check Ravi Shanker Kumar (to Everyone): 23:18: n-2 Ravi Shanker Kumar (to Everyone): 23:25: Approach 3 Start =0,end =string.end-1 Ravi Shanker Kumar (to Everyone): 23:25: then reverse Sandeep Wadhwa (to Everyone): 23:30: https://www.codechef.com/problems/PR028 Ravi (to Everyone): 23:31: no sir Ravi Shanker Kumar (to Everyone): 23:33: Thank you sir rajkumar karne (to Everyone): 23:33: thank you
ChatGPT Side Hustles 2024 - Unlock the Digital Goldmine and Get AI Working for You Fast with More Than 85 Side Hustle Ideas to Boost Passive Income, Create New Cash Flow, and Get Ahead of the Curve
ChatGPT Money Machine 2024 - The Ultimate Chatbot Cheat Sheet to Go From Clueless Noob to Prompt Prodigy Fast! Complete AI Beginner’s Course to Catch the GPT Gold Rush Before It Leaves You Behind
ChatGPT Millionaire 2024 - Bot-Driven Side Hustles, Prompt Engineering Shortcut Secrets, and Automated Income Streams that Print Money While You Sleep. The Ultimate Beginner’s Guide for AI Business