Home
YUHA👩🏻‍💻
Cancel

[Algorithm] Caterpillar method 2

See previous post Tasks 3. CountTriangles in codility (Lesson 15) : Count the number of triangles that can be built from a given set of edges. My first answer -> occurred timeout errors…. T...

[Algorithm] Caterpillar method

What is caterpillar method? The caterpillar crawls through the array. We remember the front and back positions of the caterpillar, and at every step either of them is moved forward. Tasks 1. A...

[Algorithm] Greedy algorithm

What is greedy algorithm? 1️⃣ The algorithm makes the optimal choice at each step as it attempts to find the overall optimal way to solve the entire problem. (like who greedily want to do ...

[Diary] First post

The purpose of this blog Hi, I’m yuha jo👋🏻 This is my first content on this blog. Honestly, I’ve wanted to make a blog for a long time. But I didn’t have enough time to choose blog design, consid...