Coding and Optimization Techniques