Art Em (@artbitbyte) header
Art Em (@artbitbyte) profile picture

Let's have fun... Let's start to learn C++ and German and work as Frontend.

Switzerland
Joined January 2025
The biggest thing this month is here! A brand new C++ video is out on "Code for Yourself"! You can tell a lot of hard work went into it. As always, the video is excellent! youtu.be/mNeu4S0x3gA Thanks for spreading the word about C++! #cpp
16
42. Trapping Rain Water What an excellent task! - Use pointers to avoid additional memory allocation. #cpp #leetcode #wayToBigTech
11
238. Product of Array Except Self When you want to find a common sum except for the element, it makes sense to use the prefix and suffix sum approach. #cpp #leetcode #wayToBigTech #fromStudentToStudends
1
8
42. Trapping Rain Water - narrow search field by moving pointers #cpp #leedcode #wayToTopTech #fromStudentToStudents
7
424. Longest Repeating Character Replacement - better to use an array if you know all possible keys - don't reduce the size of the sliding window #cpp #leetcode #wayToTopTech #fromStudentToStudents
3
978. Longest Turbulent Subarray - Nice idea to save the previous state and not check the future state #cpp #leetcode #wayToBigTech #fromStudentToStudents
2
12
53. Maximum Subarray - A sliding window is helpful in problems like this (my solution) - But, the divide and conquer technique could make your search much more faster :) #cpp #leetcode #wayToBigTech #fromStudentToStudents
2
5
26
4. Median of Two Sorted Arrays What a great solution (not mine) for this task with binary search! It's crazy! Do you know any other tasks where we can use this approach? #cpp #leetcode #wayToBigTech #fromStudentToStudents
2
13
287. Find the Duplicate Number A super task that demonstrates various approaches to marking elements to achieve specific goals. I liked the 4th approach, but maybe just because I didn't fully realise the next one #cpp #leetcode #wayToBigTech #fromStudentToStudents
1
7
42
702. Search in a Sorted Array of Unknown Size It wasn't so hard, but the solution is quite far from the solutions that I saw from the CP guys. How to write elegant code? :) #cpp #leetcode #fromStudentToStudents
2
39
367. Valid Perfect Square This task learns us: 1. Binary search looks easy, but we have to pay attention to the details. 2. long long test = longNum * longNum doesn't prevent potential overflow. long long test = (long long)longNum * longNum -- this prevent #cpp #learnTogether
7
We can't stop time, we can't plan everything, and we're not sure everything will go according to our schedule Losing our time is bad, but wasting our time on our wishes is much worse. We have only time, and how we use it depends on us Seneca, Letter #1 #stoicism #philosophy
15