Computer Science, asked by ilayacheliyan310, 1 year ago

What is difference between relative and linear layout

Answers

Answered by ItsCuteBoy
1

Answer:

A layout that organizes its children into a single horizontal or vertical row. ... Enables you to specify the location of child objects relative to each other (child A to the left of child B) or to the parent (aligned to the top of the parent).

Answered by Anonymous
2

Answer:

Use two loops. In the outer loop, pick elements one by one and count the number of occurrences of the picked element in the inner loop. This method doesn't use the other useful data provided in questions like range of numbers is between 1 to n and there are only two repeating elements.

Similar questions