Means end analysis (MEA) is a technique used in AI programs to solve problems by defining goals and establishing action plans to reach those goals. MEA evaluates the differences between the current state and target goal state, then decides the best actions to undertake to reach the end goal through a combination of forward and backward strategies. It works by first evaluating the current state, defining a target goal and splitting it into sub-goals linked to executable actions, then undertaking intermediate steps by applying operators to reduce differences between states until the target is achieved.