Answer:
right clicking on the desktop and selecting "view"
Explanation:
Some of the methods for opening Microsoft Word software include;
using the Ms. Word icon on the task-bar
searching for the Ms. Word program if you are using the Widows operating system
using the Ms. Word icon on the desktop
On the other hand, right clicking on the desktop and selecting "view" is a procedure for changing icon settings on desktop,
Answer:
You can simplify the problem down by recognizing that you just need to keep track of the integers you've seen in array that your given. You also need to account for edge cases for when the array is empty or the value you get would be greater than your max allowed value. Finally, you need to ensure O(n) complexity, you can't keep looping for every value you come across. This is where the boolean array comes in handy. See below -
public static int solution(int[] A)
{
int min = 1;
int max = 100000;
boolean[] vals = new boolean[max+1];
if(A.length == 0)
return min;
//mark the vals array with the integers we have seen in the A[]
for(int i = 0; i < A.length; i++)
{
if(A[i] < max + 1)
vals[A[i]] = true;
}
//start at our min val and loop until we come across a value we have not seen in A[]
for (int i = 1; i < max; i++)
{
if(vals[i] && min == i)
min++;
else if(!vals[i])
break;
}
if(min > max)
return max;
return min;
}
Answer:
Following is the algorithm to interchange the value of two variable x and y.
step 1:Read the two integer x and y.
step 2 :t=x
Step 3: x=y
step 4: y=t
The minimum number of assignment to do this is 3
Explanation:
After reading two integer x & y, create a variable "t" of integer type.
with the help of variable "t", we can swap the value of variable x and y.
It requires 3 assignment to interchange the value.
Answer:
B. Click the Next icon on the Reviewing toolbar to review and then accept or reject each edit.
Explanation:
Since Jack wants to keep some changes and reject others, he can't use a global solution (like presented in answers A and C).
He has to go through each and every change proposition and decide individually if he wants to keep the change or not. That's why it's answer B.
It's the only way to accept some, reject some.
At the end of this process, he'll have a clean document with Rob's recommendations and his original documents.