Reddit Programming
211 subscribers
1.22K photos
124K links
I will send you newest post from subreddit /r/programming
Download Telegram
🚀 Max Sum of a Pair With Equal Sum of Digits | Leetcode 2342 | Video Solution & Dry Run
https://www.reddit.com/r/programming/comments/1io0dnr/max_sum_of_a_pair_with_equal_sum_of_digits/

<!-- SC_OFF -->Hey everyone! 👋 I just uploaded a video where I walk through the solution to Leetcode 2342: Max Sum of a Pair With Equal Sum of Digits. In this video, I explain the approach using a HashMap to efficiently track the maximum sum for numbers with the same digit sum. I also do a dry run with an example to help visualize how the solution works step-by-step. Highlights: 🔹 Efficient approach with O(N) time complexity 🔹 Explanation of using HashMap for quick lookups 🔹 Dry run of the algorithm with examples 🔹 Edge case handling and optimization tips Check out the video for the full explanation, and let me know what you think! If you have any questions or alternative solutions, feel free to drop them in the comments. <!-- SC_ON --> submitted by /u/Emergency_Nerve_9473 (https://www.reddit.com/user/Emergency_Nerve_9473)
[link] (https://www.youtube.com/watch?v=MpiOCVzZHo0) [comments] (https://www.reddit.com/r/programming/comments/1io0dnr/max_sum_of_a_pair_with_equal_sum_of_digits/)
Request for help for starting programming by a linguist
https://www.reddit.com/r/programming/comments/1iofcfs/request_for_help_for_starting_programming_by_a/

<!-- SC_OFF -->Hi there, I hope anybody could help me. Sorry for my English, I’m not a mother tongue speaker. I’m a linguist focused on Italian dialects and I’ll have my Cognitive Science PhD dissertation in March. Since I studied literature and linguistics at the university, I never had the chance to learn some programming skills. I suffered a lot during my PhD because of that, being “forced” for my project to learn RStudio and statistical thinking in a small time (and a lot of stuff is still not clear to me, but I think it’s normal). However, I would really like to learn programming by zero for my future careers and also because I found this subject really creative and fascinating to apply to linguistics. However, there is a problem: I don’t know where to start. I see a lot of free and paid courses and materials online but the more I search, the more I get confused. My question for you is the following: Does anybody can suggest me some good materials to start learning Python, NLP and machine learning by zero? Is it Python a good choice to start? Thank you a lot for the help! 💖 (As a link I will post something funny about programming because I don’t know what to link, please don’t judge me) <!-- SC_ON --> submitted by /u/Front-Interaction395 (https://www.reddit.com/user/Front-Interaction395)
[link] (https://www.reddit.com/r/ProgrammerHumor/s/gMDfLxU2W6) [comments] (https://www.reddit.com/r/programming/comments/1iofcfs/request_for_help_for_starting_programming_by_a/)