Generate All Subarrays
Generate All Subarrays is a DSA topic. In plain words you use it for a short Generate All Subarrays example in a short dry-run on paper. Don’t start with a slogan — start with that picture.
Smallest example: the smallest Generate All Subarrays example you can type. Type it, run it, and say what you see. If you can do that from memory, you know Generate All Subarrays.
From the example next to this theory — Generate All Subarrays: dry-run [4, 1, 3].
Trap — only saying “Generate All Subarrays” with no example. Fix that before you talk about advanced DSA.
Viva: what is Generate All Subarrays? Then show the smallest Generate All Subarrays example you can type. Then name the trap.
What is Generate All Subarrays? Show this: the smallest Generate All Subarrays example you can type. Trap: only saying “Generate All Subarrays” with no example.