Categories for basic coding problems