📖 Explanation
A language is a Deterministic Context-Free Language (DCFL) if it can be recognized by a Deterministic Pushdown Automaton (DPDA).
For L1={0n1n∣n≥0}, a DPDA can push '0's onto the stack and then pop '0's for each '1' encountered. The transition is deterministic as it changes states based on the input symbol from '0's to '1's. Thus, L1 is a DCFL.
For L2={wcwr∣w∈{0,1}∗}, a DPDA can push 'w' onto the stack until 'c' is read. After 'c', it deterministically matches the input wr with the string on the stack. The 'c' acts as a clear marker, making the transitions deterministic. Thus, L2 is a DCFL.
For L3={wwr∣w∈{0,1}∗}, there is no central marker to deterministically identify the middle of the string 'w'. A DPDA would need to guess the middle of the string to push 'w' and then pop for 'w^r'. This non-deterministic guessing makes L3 a Context-Free Language (CFL) but not a DCFL.
Therefore, only L1 and L2 are deterministic Context-Free languages.