<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Algorithms on Yu Xuan's Portfolio</title><link>https://yxlow07.github.io/tags/algorithms/</link><description>Recent content in Algorithms on Yu Xuan's Portfolio</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 28 Dec 2025 12:00:00 +0800</lastBuildDate><atom:link href="https://yxlow07.github.io/tags/algorithms/index.xml" rel="self" type="application/rss+xml"/><item><title>2nd AICC Competition Editorials (Unofficial)</title><link>https://yxlow07.github.io/blog/aicc-2nd/</link><pubDate>Mon, 29 Dec 2025 17:00:00 +0800</pubDate><guid>https://yxlow07.github.io/blog/aicc-2nd/</guid><description>Intro My first competition in quite a few months! I&amp;rsquo;m quite new to the scene so don&amp;rsquo;t slam me for the suboptimal solutions here. The theme for this competition is NLP, Audio and CV. After spending ~10 minutes reading the problem statements, I think the difficulty rank is Essay Gap &amp;lt; Face Matching &amp;lt; Audio Demixing.
Task 1: Essay Gap Problem statement (simplified): Given a cloze task with missing sentence, train/fine-tune a model to choose the best choice from 4 options that maximizes the coherence of the text.</description></item><item><title>CSES Editorials</title><link>https://yxlow07.github.io/blog/cses-editorials/</link><pubDate>Sun, 11 May 2025 12:00:00 +0800</pubDate><guid>https://yxlow07.github.io/blog/cses-editorials/</guid><description>Introduction CSES Problemset is a collection of competitive programming problems that are frequently used in contests. This blog post contains a collection of editorials for the problems in CSES Problemset. The solutions are written in C++ and are intended to be teach you the concept of the problem. Problems may be accessed at CSES Problemset.
Template I will be using 1#include &amp;lt;bits/stdc++.h&amp;gt; 2using namespace std; 3 4#define ff(i, a, b) for (int i = a; i &amp;lt;= b; i++) 5#define fb(i, b, a) for (int i = b; i &amp;gt;= a; i--) 6#define loop(a, b) for (auto &amp;amp;a : b) 7#define nl &amp;#39;\n&amp;#39; 8#define sp &amp;#39; &amp;#39; 9#define ll long long 10 11void solve() { 12 // code here 13} 14 15signed main() 16{ 17 ios::sync_with_stdio(false); cin.</description></item><item><title>Double Pendulum Balancer</title><link>https://yxlow07.github.io/blog/double-pendulum-balancer/</link><pubDate>Sun, 11 May 2025 12:00:00 +0800</pubDate><guid>https://yxlow07.github.io/blog/double-pendulum-balancer/</guid><description/></item><item><title>Getting Started with Dynamic Programming</title><link>https://yxlow07.github.io/blog/dynamic_programming/</link><pubDate>Sat, 10 May 2025 12:00:00 +0800</pubDate><guid>https://yxlow07.github.io/blog/dynamic_programming/</guid><description>Introduction to Dynamic Programming Dynamic programming is a powerful technique for solving complex problems by breaking them down into simpler subproblems. It&amp;rsquo;s particularly useful when the problem has overlapping subproblems and an optimal substructure.
Key Principles Optimal Substructure: The optimal solution to a problem contains optimal solutions to its subproblems. Overlapping Subproblems: The same subproblems are solved multiple times when finding the solution. Implementation Example: Fibonacci Sequence The Fibonacci sequence is a classic example of a problem that can be efficiently solved using dynamic programming:</description></item></channel></rss>