Questions
(Write a C# program DO NOT USE CLASS)Implement the merge sort algorithm using a linked list...

(Write a C# program DO NOT USE CLASS)Implement the merge sort algorithm using a linked list instead of arrays. You can use any kind of a linked structure, such as single, double, circular lists, stacks and/or queues. You can populate your list from an explicitly defined array in your program. HINT: You will not be using low, middle and high anymore. For finding the middle point, traverse through the linked list while keeping count of the number of nodes. Break up the list into two, null terminated lists, based on the node count. //Here is a portion of what mergeSort function would look like: //a points to the left partition, b points to the right partition. They would be passed by reference. //You would then recursively process each partition. if(head==NULL) return NULL; if (head->next==NULL) return head; a=mergeSort(a); b=mergeSort(b); c=merge(a,b); return (c); //These are the function headers void split (node* head,node*&a,node*&b) node* merge(node* a, node* b) node* mergeSort( node* head) Make sure to account for when head is null or when there is only one item in the list.

In: Computer Science

Add a header to the lab with "YourName's List Of Countries" Using JS, inject an ordered...

  1. Add a header to the lab with "YourName's List Of Countries"
  2. Using JS, inject an ordered list into the div with the class "content"
  3. Give your new ordered list the class "countries"
  4. Design the following function to run on the click of a button from the index page
  5. Select 25 random countries from your list by writing a separate function that makes use of Math.random
    • You may need to explore how to do this by looking it up at MDN
  6. Make sure the selection is unique
  7. Using a .forEach or a .map function, inject a new list item for each country into the ol from #3
  8. Display the name of each country in a normal font weight
  9. Display the country code for each in a bold font weight
  10. Log the unselected countries to your console

Extra Credit (0.5 per)

  • Make sure your random countries display in alphabetical order OR
  • Make sure your countries are definitely not in alphabetical order
  • Guarantee a given country cannot appear twice in any given click of the button (point 7 but really do it)
  • Use JS to attach an event listener rather than using the onclick attribute on a button

Here is the link w/country codes:

https://www.iban.com/country-codes

In: Computer Science

Starting a Family Video, This is an SQL Assingment Each family video has a store number,...

Starting a Family Video, This is an SQL Assingment

Each family video has a store number, a street address, city, state, zipcode, and phone number. Each store will have a number of employees. Each staff member should have an employee number, name, salary, phone number. Each store should have a single employee that is the manager for that store.

assume that every DVD is a movie. Every movie will have a title and a single category (Action, Drama, Horrow, SciFi, etc.). Any given store will have any number of DVD copies of a movie. The rental cost is set for the movie and is the same across all stores.

Family Video track of all borrowers (borrower number,name, phone number). A borrower is allowed to rent from any store, and may rent any number of items, but each rented item must record the day it was rented and its return date.

1. Identify and list the strong entities.
2. Identify and list the weak entities.
3. For each entity list its attributes.
4. Identify and list the relationships between entities. If the relationship has any attributes, list them.
5. Draw the E/R diagram for your model.

In: Computer Science

List five social insurance programs in the US.

List five social insurance programs in the US.

In: Economics

List and briefly explain the main types of unemployment..

List and briefly explain the main types of unemployment..

In: Economics

List elements of estate planning and a brief description?

List elements of estate planning and a brief description?

In: Accounting

7) List the steps of the Gram stain procedure

7) List the steps of the Gram stain procedure

In: Biology

List difference between financial and management accounting

List difference between financial and management accounting

In: Accounting

Given below is a list of costs: Direct labor                                   &

Given below is a list of costs:

Direct labor                                                                 35,500

Accounting Dept. salaries                                          70,000

Indirect materials                                                        32,700

Depreciation, factory                                                  15,000

Direct materials                                                          66,000

Sales commission                                                       36,000

Indirect labor                                                              20,200

Advertising                                                                 5,800

Water and electricity of the office                              12,000

Required,

From the above costs calculate the following costs (show your calculation):

  1. Total product costs
  2. Total period costs
  3. Total prime costs
  4. Total conversion costs

In: Accounting

List the bank regulatory agencies and state their functions.

List the bank regulatory agencies and state their functions.

In: Accounting