Today published a post about Dart GC. I wrote about the garbage collection process and the tricks it employs.
Linkedin
Sign Up | LinkedIn
500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
👍3
Briefly about render objects and their responsibilities:
Linkedin
Michael Lazebny on LinkedIn: #flutter #interesting #tipoftheday #mobile #uiux
Render objects in Flutter
A vital part of Flutter's framework is its rendering engine, which paints the visuals you see on the screen. At the heart of this…
A vital part of Flutter's framework is its rendering engine, which paints the visuals you see on the screen. At the heart of this…
🔥6❤1
Today I learned an interesting algorithm for finding the majority element.
The Boyer-Moore majority algorithm is a popular algorithm for finding the majority element in a list of integers. The majority element in an array (or list) is an element that appears more than n/2 times where n is the size of the array.
Here's a simple way to describe the Boyer-Moore Voting Algorithm:
1. Start with an initial candidate and a counter set to 0.
2. Iterate over the list of numbers.
3. For the current number: If the counter is zero, set the current number as the candidate.
4. If the current number is the candidate, increment the counter. Otherwise, decrement the counter.
5. The candidate will be the majority number.
#dart #leetcode #tipoftheday #algorithm
The Boyer-Moore majority algorithm is a popular algorithm for finding the majority element in a list of integers. The majority element in an array (or list) is an element that appears more than n/2 times where n is the size of the array.
Here's a simple way to describe the Boyer-Moore Voting Algorithm:
1. Start with an initial candidate and a counter set to 0.
2. Iterate over the list of numbers.
3. For the current number: If the counter is zero, set the current number as the candidate.
4. If the current number is the candidate, increment the counter. Otherwise, decrement the counter.
5. The candidate will be the majority number.
#dart #leetcode #tipoftheday #algorithm
👍8🤓2