Answer:
Physics, Quantum Mechanics
Explanation:
Light is a stream of photons with no weight. If you want to dig deeper in this mysterious phenomena, you should study physics and quantum mechanics. Physics takes up things like the theory of relativity, which can be useful in studying spacetime and how light travels through it, and quantum mechanics, being the study of matter in an atomic level, should help you get an understanding on how photons of light travel and why they behave so strangely.
Ump will be assigned to word2
word1[0:3] gets all of the letters from index 0 to index 3 exclusive (that means index 3 is not included)
A "divide and conquer" approach known as binary search necessitates sorting the starting array first. Because the technique divides the array into two equal halves, it is called a binary algorithm. A binary search will initially examine the middle item in the array and evaluate it in relation to the search terms.
<h3>What exactly is binary search?</h3>
- Finding an element's location in a sorted array can be done using the searching method known as binary search.
- With this method, an array's middle is always searched for the element. Only on a list of things that has been sorted can binary search be used. If the elements are not sorted already, we need to sort them first.
- Binary search is used to find values in any sorted collection from any language library, including Java,.NET, C++ STL, etc.
- A sorted array can be searched using the binary search algorithm by continually halving the search interval. Utilizing the knowledge that the array is sorted, binary search attempts to minimize the time complexity to O (Log n).
To Learn more about binary search refer:
brainly.com/question/21475482
#SPJ4
Bro mark me brainliest i’m struggling with algebra 2 rn