Combinatorial approaches to problems about integer partitions and q-series