I am working on finding a PDA that accepts the following language:
L = {0^i 1^j 0^k 1^l | i < j and k < l}
I am having trouble figuring out how to break this down/ where to start. I am able to form simpler PDA's such as when there are twice as many 0's as 1's but am drawing a blank on what approach to take to begin to solve.
Are there any methods or algorithmic approaches to forming a PDA for a given language?
edit: this is NOT a duplicate of the question that was flagged, that question asks how to determine if a grammar is context-free, this is completely different.
So far I have developed this PDA but for some reason it accepts 0101 which should fail, I haven't figured out how it manages to pass through the first portion from the first accepting state: