Let’s add the remaining screens to the navigator. There should be 4 of them in total.
Let’s add a screen with the Words component and the name WORDS_SCREEN.
And add two more screens with the AddingListOrWord component....
Implement the binarySearch function.
It should accept a sorted array and a number.
It should return the position of the number in the array or -1 if it’s not found....
Implement the function getBit(n, pos).
It should return the value of the bit found on position pos of the number n.
The position of the rightmost bit is 0.
This task is part of the Full-Stack JavaScript Course...
Implement the sort function which should sort the array.
Sort order should be ascending.
You can’t use any third party modules or built in Array functions.
This task is part of the Full-Stack JavaScript Course...
Implement the function isArrayIdentical in helper.js
It should return true if two arrays have the same elements. The order of the elements doesn’t matter.
Arrays will only have plain fields (strings, numbers or booleans)...
Implement the fastSort function which should sort the array.
Sort order should be ascending.
The time complexity should be better than O(n^2), preferably O(n*log(n)).
You can’t use any third party modules or built in Array functions....
Implement the function isArrayIdentical in helper.js without sorting them
It should return true if two arrays have the same elements. The order of the elements doesn’t matter.
Arrays will only have plain fields (strings, numbers or booleans)...
The second task is harder than the first. And there are also some things that you may be unfamiliar with.
Don’t stress it. You just need to change the output string....
Take a look at how the variable “m” is created and initialized with the value 5.
Create a variable “n” and initialize it with the number 10.
This task is part of the Full-Stack JavaScript Course...
Take a look at a variable “welcomeMessage” initialised with the value “Hello!”.
Create a variable “goodbyeMessage” and initialize it with the string “See you soon!”
This task is part of the Full-Stack JavaScript Course...