The end of the second Alice in Wonderland was representative of growing up. TweedleDee and Tweedledum were symbolic of parents, possibly Alice's that were attempting to keep her imagination under control. Alice ate the cookie that said "eat me" which was symbolic in itself. The entire movie had many hidden meanings and ironies.
Some were timeless and other ones were significant of the day and time the book was originally written in. Much thought went behind it all. Digging into the meanings of all the things that went on is priceless. All said and done, by the movie's end, Alice was able to effectively deal with her issues at hand. .