1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Liono4ka [1.6K]
3 years ago
6

Describe an algorithm that takes as input a list of n integers in nondecreasing order and produces the list of all values that o

ccur more than once. (
Computers and Technology
1 answer:
daser333 [38]3 years ago
6 0

Answer:

Input a series of integer numbers and split the string from the input to get a list. Then check and convert each string to integer with a list comprehension. Create a new variable with a value equal to the set of the list ( to get unique values) then check for the occurrence of each value in the original list.

Explanation:

This algorithm is used to check for the occurrence of values in a list that has been sorted in ascending order. This is faster if the items in the list is not converted to integer yet (still strings) before writing a for loop to check the value count in the list.

You might be interested in
Complete each of the following sentences by
Minchanka [31]

Answer:

something like

Explanation:

Audio digitization converts analogue

sound a sound wave

Digital audio is stored in binary

The process of audio digitization converts the

sound wave into a series of numbers.

5 0
2 years ago
Read 2 more answers
How are engineers are related to technology
vichka [17]
Engineering is the application of knowledge and technology is the body of knowledge:)
4 0
4 years ago
This allows you to access structure members.
MrMuchimi

Answer:

The correct option for the given question is option(B) i.e dot operator

Explanation:

Structure are collection of different datatypes member element .

Let us consider the example of structure

Struct test

{

int age ;

char name[45];

};

Here test is an "structure" which member is age of "integer" type and name of "String" type.if we have to access the member of structure,firstly we create structure variable name then after that we use dot operator which is also known as member access operator that access the members of structure.

struct test op;//  structure variable name

op.age=12; // access the member age

For example

Following is the code in c language :

#include <stdio.h> // header file

struct test // structure declaration

{

int age ;

char name[45];

};

int main() // main function

{

struct test op;//  structure variable name

op.age=12; // access the member age

printf("%d",op.age);

return 0;

}

Output:12

so correct answer is "dot operator"

3 0
3 years ago
Aldhurst Corp., a software manufacturing firm in the country of Lochmount, bought Fairden Corp., a software manufacturing firm i
Liono4ka [1.6K]

Answer:

The answer is "Foreign direct investment".

Explanation:

An investment is also known as the course with either activity or indeed the acquisition of corporate assets within a continent, It is just the form of contract, regulate or influence of foreign powers, in one nation by a firm and/or an ordinary person.

  • It is essential for developing nations and economies.  
  • It needs to have the financial support and knowledge for corporations to expand their foreign sales.
6 0
3 years ago
Can i still download an update for an xbox one game if it's not turned on
Aneli [31]
<span>Yeah, they do. I think as long as the power brick glows white the system is in standby and will download anything in your queue.</span>
3 0
4 years ago
Other questions:
  • All of these are required categories on a safety data sheet except
    14·2 answers
  • Suppose a worker needs to process 100 items. the time to process each item is exponentially distributed with a mean of 2 minutes
    5·1 answer
  • At age 16 Cheyanne just got her drivers license
    5·2 answers
  • Do you know Aztekium Bot?
    10·2 answers
  • What is an example of a use for an icon set?
    6·1 answer
  • What was the first video game ever invented
    11·2 answers
  • B2B partners often connect to each other on the Internet through special __________ designed to facilitate information exchanges
    11·1 answer
  • What do you think about the future of Moore’s Law? Will it continue to hold true? Will other technologies help us keep on track?
    14·1 answer
  • Write a program named as reverse.c that reads a message, then prints the reversal of the message. The output of the program shou
    7·1 answer
  • When i add someone to canvas course, do they get an invitation?.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!