The problems read as follows, for contains duplicates:

Given an integer array `nums`

, return `true`

if any value appears **at least twice** in the array, and return `false`

if every element is distinct.

**Example 1:**

**Input:** nums = [1,2,3,1]

**Output:** true

**Example 2:**

**Input:** nums = [1,2,3,4]

**Output:** false

**Example…**

You are given an array `prices`

where `prices[i]`

is the price of a given stock on the `ith`

day.

Find the maximum profit you can achieve. You may complete **as many transactions as you like** (i.e., buy one and sell one share of the stock multiple times).

**Note:** You may…

Our problem is asking us to return the largest possible integer after adding a 5 among the digits. For example, when given the number 268 our expected output is 5268, and when given 670 we are expected to return 6750. …

The missing integer problem asks for the return of the smallest positive integer (greater than 0) that does not occur in the given array. For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5. Given A = [1, 2, 3], the function should return…

A linked list is a sequence of data structures connected through links. This means that each element in the linked list points to the next element. Linked lists are the second most used after arrays. Here are terms commonly used with a linked list.

**Link**− Each link of a…

The “Min-Max” problem description is as follows when given an array A the length N, we must find the sum of the minimum and maximum elements in the array. It is also asked that we make the least amount of comparisons as necessary.

Our input format is the only argument…

Stacks are a useful data structure that holds a list of elements. A stack works in a “last in”, “first out” principle meaning that the most recently added element is the first one to remove. The stack has two main methods that we use, .push() and .pop().

`const reverse =…`

Big O notation is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular value or infinity. In computer science, big O notation is used to classify algorithms according to how their run time or space requirements grow as the input size…

Pseudo Classes

Anchor Pseudo-classes

Hover on <div>

Matching First Child Elements

Pseudo-classes are used in order to define a specific state of an element. Examples for uses of pseudo-classes are as follows: styling a specific element with a mover hover, or whether a link was visited or not, as well…

Intro:

This is a part 2, if you want to see part 1 here is the link and come back :). https://medium.com/@mjhorowitz714/understanding-css-part-1-62d6aba3ce42

How to insert your CSS:

There are three ways you can attach CSS to your application. The first is inline CSS, internal CSS, and external CSS.

Inline CSS:

…