#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
[LeetCode] Two-Letter Card Game
1
·
·
Sept. 3, 2025, 1:38 a.m.
PS
Leetcode
problem-solving
Greedy
Leetcode
Programming Challenges
algorithm
game-theory
Summary
This post explains a programming challenge from LeetCode about a game using a deck of cards represented by strings. The objective is to find compatible card pairs that both contain a specified letter, with a scoring system based on the pairs found.
Read full post on songhayoung.github.io →
MORE POSTS LIKE THIS
[LeetCode] Minimum Discards to Balance Inventory
SongHayoung ·
Sep 19, 2025
PS
Leetcode
In-shuffles and out-shuffles
John Cook ·
Jan 1, 2026
Math
Combinatorics
We have proof automation now
Adam Langley ·
Jul 26, 2026
dependently-typed languages
proof automation
Exploiting Volvo/Eicher’s fleet management platform to gain control over all users and vehicles
Eaton Works ·
Jul 27, 2026
Cybersecurity
Vulnerability Exploitation
Writing arenas in Rust from scratch
rushter ·
Jul 27, 2026
Rust
memory allocation
Thoughts about the Leiden Declaration
Gowers Wordpress ·
Jul 26, 2026
AI and maths
AI
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google