Skip to main content

Posts

Showing posts from August, 2021

Spider Man No Way Home--Spoiler

 Spider-Man: No Way Home LEGO set reveals may feature potential movie spoilers While Sony Pictures and Marvel Studios have kept their Spider-Man: No Way Home cards close to their chests so far, with not even a teaser for December's hotly anticipated threequel, it appears that The LEGO Group isn't holding off any longer on promoting its tie-in sets, and there may be some spoilers ahead, so be warned... Three sets have been revealed, the first of which – Spider-Man at the Sanctum Workshop – offers what looks to be our first glimpse of Spider-Man’s newest suit, as well as revealing that Benedict Wong’s Wong will be making an appearance in the film alongside the previously revealed Doctor Strange (Benedict Cumberbatch). Next up though are two sets which either a) spoil appearances from Michael Keaton’s Vulture and Jake Gyllenhaal’s Mysterio (one third of the Sinister Six?) in No Way Home, or b) give the new sets a couple of previous MCU Spidey villains for kids to play with until L

How To Earn Money -Earn Daily $100-200

         Earning money is simple and easy. If you follow right person  and right people . You must have watched thousand of videos regarding earning money online but none of them work fine Today I am going to tell you about apps and tricks through which you can earn money in finger tips. You just required a phone or laptop and good internet connection. So I don't want to waste your much of time .Lets gets started.  1.Paidera-Turn your time in money  This is best website for the people who has lot of time. First go to this site  create your account .Fill your Detail .hurry you are now ready to earn. Here you just have to do is Take survey as many as you want. Download app Upload videos Do simple task and you can earn 6-7$ per hour

Experiment 2- A left rotation operation on a vector of size N shifts each of the array's elements 1 unit to the left. For example, if 2 left rotations are performed on array [1,2,3,4,5], then the array would become [3,4,5,1,3]. Given a vector of n integers and a number, d, perform d left rotations on the array. Then print the updated array as a single line of space-separated integers. Print a single line of n space-separated integers denoting the final state of the array after performing d left rotations

1. Aim/Overview of the practical:       Array operations 2. Task to be done: A left rotation operation on a vector of size N shifts each of the array's elements 1 unit to the left. For example, if 2 left rotations are performed on array [1,2,3,4,5], then the array would become [3,4,5,1,3]. Given a vector of n integers and a number, d, perform d left rotations on the array. Then print the updated array as a single line of space-separated integers. Print a single line of n space-separated integers denoting the final state of the array after performing d left rotations 3. Algorithm/Flowchart:   Step 1:Start; Step 2:Declare Size and number of rotation. Step 3:Start a loop until number of rotation .Inside loop Store first element of Vector. Step 4:Nest another loop until (size of vector-1) . Step 5.Now, Inside this loop Shift the element of array by one.i.e arr[j]=arr[j+1]. Step 6.At last at arr[j]=first. Put the element stored at last. Step 7. Return the rotated ve