NVIDIA Interview Question

what's difference between decoder and encoder only LLM?