Statistical Learning With Discrete Structures: Statistical And Computational Perspectives