If I have an array consist of {1,1,1,2,2,2,2,2,4,5,5,6,6,6} how can I Insert the Value 3 after number 2 ?  do I insert it before the first number 2 or after the last number 2 ?

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question

hello doctor , 

I have a qustion about binary search .

If I have an array consist of {1,1,1,2,2,2,2,2,4,5,5,6,6,6}

how can I Insert the Value 3 after number 2 ? 

do I insert it before the first number 2 or after the last number 2 ?

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,