1 00:00:00,210 --> 00:00:01,400 So will come again. 2 00:00:01,440 --> 00:00:07,470 This lesson is actually an assignment on what you have to do is you have to take that to a raise you 3 00:00:07,470 --> 00:00:09,770 have received with this lesson. 4 00:00:09,990 --> 00:00:14,420 Compare them against each other and find out three different things. 5 00:00:14,460 --> 00:00:21,480 One is if all the objects from one era exist in the other early the second one is if they have the same 6 00:00:21,480 --> 00:00:27,510 number of objects in both arrays and the tared one which is the most difficult one is to find out if 7 00:00:27,510 --> 00:00:30,600 the objects in the two areas play in the same order. 8 00:00:30,750 --> 00:00:36,640 And if they are not in the same order as to what index the order is essentially breaking. 9 00:00:36,780 --> 00:00:39,200 So let me show you the beginning part of it. 10 00:00:39,210 --> 00:00:42,170 I'm going to go into the files that we have received. 11 00:00:42,210 --> 00:00:50,040 This is the one I'm going to go ahead and copy everything from it go to a school start a new project. 12 00:00:50,280 --> 00:00:56,090 The new project I'm going to call it home here arrays and they compare arrays. 13 00:00:56,130 --> 00:00:58,160 All I'm going to do for you is this. 14 00:00:58,260 --> 00:01:06,230 I'm going to put the two arrays and clean this up and place the two arrays in here. 15 00:01:06,300 --> 00:01:11,720 So I have array cities array one set is great too. 16 00:01:12,000 --> 00:01:20,520 And then they want you to do this or two arrays of the same size. 17 00:01:20,520 --> 00:01:26,570 Do they have the same number of objects or as the objects the same. 18 00:01:27,000 --> 00:01:30,750 Essentially if Vancouver is in here is there a rank over there. 19 00:01:30,750 --> 00:01:37,040 If our Rio de Janeiro is there if that is the is the Rio de Janeiro over there are they the same objects 20 00:01:37,040 --> 00:01:37,820 in there. 21 00:01:38,100 --> 00:01:45,060 And then is the OR THEIR of the objects the same. 22 00:01:45,060 --> 00:01:50,520 So in this one you have to actually go through one other time and find out if the orders are the same 23 00:01:50,520 --> 00:01:51,410 or not. 24 00:01:51,640 --> 00:02:00,320 And if the order is not the same to what index the order breaks. 25 00:02:00,570 --> 00:02:06,470 So essentially you have to find out what index the order is not the same anymore. 26 00:02:06,750 --> 00:02:07,800 That's about that. 27 00:02:07,800 --> 00:02:09,580 Good luck with this assignment. 28 00:02:09,660 --> 00:02:11,470 Once you're done please submit it. 29 00:02:11,540 --> 00:02:16,380 And if you're not into a really difficult issue just drop me a line or I will try to help you.