{"id":19515680,"url":"https://github.com/presidentsam100/cs104c-solutions","last_synced_at":"2026-03-19T10:15:00.104Z","repository":{"id":183112821,"uuid":"626827029","full_name":"PresidentSam100/CS104C-Solutions","owner":"PresidentSam100","description":"Accepted solutions to UT Austin's Competitive Programming (CS104C) Class. (P.S. Don't copy these unless you want to get in trouble)","archived":false,"fork":false,"pushed_at":"2023-04-12T09:28:09.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T23:43:26.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PresidentSam100.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-12T08:35:39.000Z","updated_at":"2023-07-22T21:03:33.000Z","dependencies_parsed_at":"2023-07-22T23:28:50.819Z","dependency_job_id":null,"html_url":"https://github.com/PresidentSam100/CS104C-Solutions","commit_stats":null,"previous_names":["presidentsam100/cs104c-solutions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PresidentSam100/CS104C-Solutions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PresidentSam100%2FCS104C-Solutions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PresidentSam100%2FCS104C-Solutions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PresidentSam100%2FCS104C-Solutions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PresidentSam100%2FCS104C-Solutions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PresidentSam100","download_url":"https://codeload.github.com/PresidentSam100/CS104C-Solutions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PresidentSam100%2FCS104C-Solutions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29974745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:18:32.386Z","status":"ssl_error","status_checked_at":"2026-03-01T16:18:04.258Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T23:40:43.660Z","updated_at":"2026-03-01T16:32:06.017Z","avatar_url":"https://github.com/PresidentSam100.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CS104C Solutions\n\nAccepted solutions to UT Austin's [Competitive Programming (CS104C) Class](https://www.cs.utexas.edu/users/downing/cs104c/Schedule.html) with solutions primarily written in C++ and Java (with a few Python solutions).\n\n# Course Description\n\nThe CS 104C Competitive Programming Course explores numerous algorithms needed to solve problems similar to those found in technical interviews (LeetCode), programming contests (ICPC), and especially other algorithm-focused courses (CS 331). Oftentimes, this involves thinking about corner cases, coming up with creative usage of algorithms, and writing correct implementations under time pressure.\n\n\n# Table of Contents\n\n## Introduction\n\n1. Gravity Flip\n1. Weird Algorithm\n\n## Prefix Sums\n\n1. Greg and Array\n1. Number of Ways\n1. Ternary Strings\n1. Subarray Sums II\n1. Subarray Divisibility\n1. Playlist\n\n## Graphs and Search Algorithms + Shortest Path I\n\n1. Two Buttons\n1. Ostap and Grasshopper\n1. Dijkstra?\n1. Grid Paths\n1. Labyrinth\n1. Shortest Routes I\n\n## Shortest Path II\n\n1. Ping-Pong\n1. Fight Against Traffic\n1. Greg and Graph\n1. Cycle Finding\n1. High Score\n1. Shortest Routes II\n\n## Binary Search\n\n1. Burning Midnight Oil\n1. Interesting Drink\n1. Multiplication Table\n1. Apartments\n1. Factory Machines\n1. Array Division\n\n## Greedy Algorithms\n\n1. Before an Exam\n1. Maximum of Maximum of Minimums\n1. Bus\n1. Stick Lengths\n1. Restaurant Customers\n1. Reading Books\n\n## Depth-First Search\n\n1. Maze\n1. Protect Sheep\n1. Divide by three, multiply by two\n1. Chessboard and Queens\n1. Apple Division\n1. Gray Code\n\n## Number Theory\n\n1. Design Tutorial: Learn from Math\n1. Subtractions\n1. Primes on Interval\n1. Exponentiation II\n1. Counting Divisors\n1. Binomial Coefficients\n\n## Dynamic Programming I\n\n1. Cut Ribbon\n1. The Least Round Way\n1. Tetrahedron\n1. Dice Combinations\n1. Minimizing Coins\n1. Coin Combinations I\n\n## Union Find\n\n1. Learning Languages\n1. Mike and Feet\n1. Edgy Trees\n1. Road Construction\n1. Building Roads\n1. Road Reparation\n\n## Dynamic Programming II\n\n1. Mysterious Present\n1. Chain Reaction\n1. Python Indentation\n1. Coin Combinations II\n1. Rectangle Cutting\n1. Edit Distance\n\n## String Algorithms\n\n1. Good Substrings\n1. Vasiliy's Multiset\n1. Common Divisors\n1. Word Combinations\n1. String Matching\n1. Finding Borders\n\n## Segment Trees\n\n1. Xenia and Bit Operations\n1. Complicated Computations\n1. Dynamic Range Minimum Queries\n1. Range Update Queries\n1. Salary Queries\n\n## Max Flow\n\n1. Soldier and Traveling\n1. Petya and Pipes\n1. Flawed Flow\n1. Download Speed\n1. Police Chase\n1. School Dance\n\n## Geometry\n\n1. Han Solo and Lazer Gun\n1. View Angle\n1. Constellation\n1. Point Location Test\n1. Polygon Area\n1. Line Segment Intersection\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpresidentsam100%2Fcs104c-solutions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpresidentsam100%2Fcs104c-solutions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpresidentsam100%2Fcs104c-solutions/lists"}