# Data Structures and Algorithms -- 2

Consider a one dimensional array storing any 10 numbers (integers) of your choice.

a. Discuss using suitable diagram/illustration the following searching methods when

searching any given number in the considered one dimensional array.  Linear search

 Binary search

b. Discuss by giving reasons which of the above searching method is more efficient for searching any given number in the considered one dimensional array.

Consider a hospital information system using which patients can take appointment with a doctor on first come first serve basis and their appointments are maintained in a queue.

a. Discuss by giving reasons on which of the following data structures is most suitable for implementing such appointment queue, when considering that there is no limit on how many patients a doctor can see in any given day.

 One dimensional array

b. Write and execute a java program to create an object of class appointment queue, and perform operations such as insert, remove, and display. Give your reflection on each of these operations.

Note: For giving appointments patient’s civil ID (number) will be used.

Select any one of the following arithmentic expression and convert it into postfix expression:  (3 + ( 2 * 6 )) – (( 4+ 6) / 2) )

 ( 8 – ( 4 / 2) ) * ( 2 + ( 3 * 2 ) )  ( ( 8+ 2 ) + ( 6 * 2 ) )+ ( 4 – 3)

Identify the suitable linear data structure to evaluate the selected arithmetic expression. Illustrate by giving steps and evaluate the selected aithmetic expression using suggested data structure.

Om arbejdsgiveren:
( 4 bedømmelser ) muscat, Oman

Projekt ID: #28368412

## Tildelt til:

UsamaNawaz1

Hello there, I will deliver this task within 2 hours. I have been working with Advance Data Structures and Algorithms for more than 5 years now. Let's have a chat and get started with this. Cheers.

\$20 USD på 1 dag
(0 bedømmelser)
0.0

## 6 freelancere byder i gennemsnit \$25 timen for dette job

popularcontent12

Hello, I am a software and Web Developer. I hava also lot of experience in Designing. I have some rules and regulations before start of project: 1. Provide 100% work within deadline. 2. Provide unlimited revisions un Flere

\$10 USD på 1 dag
(20 bedømmelser)
4.1
zajjithvedha

Hi, I have a good experience in Data Structure and Algorithms, etc... But I doesn't have lot of reviews in freelancer for these relevant skills. But I confirm you I can answer all the questions very well. Also if you Flere

\$30 USD in 3 dage
(3 bedømmelser)
2.4

Dear Sir, I am an expert in data structures having an experience of 5 years, after reading thee task description I am confident bout your task . lets knot the deal. Regards, Ahmad

\$20 USD på 1 dag
(1 bedømmelse)
1.5
prasathsh

Hello there! Looks like you need answers to these questions. I can help you with them. Let's discuss over a chat. Thank you!

\$20 USD in 5 dage
(0 bedømmelser)
0.0
trenzenokvs

Hello, I'm expert in C, Java, python and algorithms. I have a M Sc degree in AI and extensive experience in problem solving, so I can easily help you. Looking forward to your reply.

\$50 USD in 3 dage
(0 bedømmelser)
0.0