|
Download math/math-0163.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 805 Bytes
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/034ba678829a1c436b19d43dd3adab33b5170a80/math/math-0163.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm@034ba678829a1c436b19d43dd3adab33b5170a80/math/math-0163.jsonl
-
curl -L -o math-0163.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/034ba678829a1c436b19d43dd3adab33b5170a80/math/math-0163.jsonl
805 Bytes
| {"type": "session", "harness": "opencode", "id": "math-0163", "name": "Network Flow Algorithms"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert mathematician and programmer."}} | |
| {"type": "message", "message": {"role": "user", "content": "Explain max flow algorithms"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "Ford-Fulkerson: augmenting paths in residual graph. O(E*|max_flow|).\nEdmonds-Karp: BFS shortest augmenting path. O(VE^2).\nDinic's: blocking flow with BFS level graph + DFS. O(V^2*E), O(V*E) unit capacities.\nPush-relabel: O(V^2*E) worst, often faster. Preflow + push + relabel.\nMin-cut = max-flow theorem.\nApplications: bipartite matching (source->left, right->sink, cap=1), vertex cover, project selection, image segmentation."}} | |