tag:blogger.com,1999:blog-2138644806777257073.post265238723492301030..comments2023-06-05T11:43:45.205+03:00Comments on Code How Tos: Building a MazeLagihttp://www.blogger.com/profile/06115049194000560865noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-2138644806777257073.post-64080169535197315082021-03-17T01:53:09.451+02:002021-03-17T01:53:09.451+02:00Noting there on your site anymore :( Noting there on your site anymore :( Brick Alchemisthttps://www.blogger.com/profile/15567927796781181850noreply@blogger.comtag:blogger.com,1999:blog-2138644806777257073.post-54664626559006045182014-11-02T16:47:18.764+02:002014-11-02T16:47:18.764+02:00cool bro!!cool bro!!KIDhttps://www.blogger.com/profile/12887823587192383876noreply@blogger.comtag:blogger.com,1999:blog-2138644806777257073.post-10801157819102256652011-04-03T03:09:14.960+03:002011-04-03T03:09:14.960+03:00Ankur, you can see that when joining 2 groups, I j...Ankur, you can see that when joining 2 groups, I join the small one into the bigger one.<br />This is important for the complexity of the data structure. If you don't do this, you might get a spaghetti structure where each node points to the next and then find will be O(n).<br /><br />When joining the smaller into the bigger group, the find will be divided by 2 each time, and this will give you complexity of O(Log*n) which is practically O(1).Lagihttps://www.blogger.com/profile/06115049194000560865noreply@blogger.comtag:blogger.com,1999:blog-2138644806777257073.post-73500179240588838552011-04-03T02:27:30.663+03:002011-04-03T02:27:30.663+03:00Great idea. Keeping the sizes of each group seems ...Great idea. Keeping the sizes of each group seems unnecessary, though.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2138644806777257073.post-70483062677965132582011-04-02T16:59:13.771+03:002011-04-02T16:59:13.771+03:00That maze looks good. I am always trying to think ...That maze looks good. I am always trying to think up ways to draw mazes for games. I want to figure out the algorithm for myself. But it looks like good algorightms are out there.Legend of Angbandhttps://www.blogger.com/profile/18049943271218398553noreply@blogger.com