Fundamental problem solving at the beginning of the programming journey
You have an array of numbers = [2, 3, 6, 7, 13, 5, 139, 11, 16], and you have to find prime numbers from the collection and return an array as an output.
First, find what makes a number prime number. If a number is divided by 1 and only with this number itself, then that’s called prime. So, this should be the primary condition in finding the prime number.
Second, we have to put prime numbers to an array and finally return this array as an output. …
I will try to explain it in a simplified manner. Take a look at the following picture.
When our code is written in html and CSS, html code and CSS stylesheets are parsed by Html and CSS parser respectively. Then html tags are put in a Dom tree which look like the following picture. You can think of this like a reversed tree presentation where <html> is the root and is put in the top.
Let’s explain Event Loop and in the end we will talk about data type,