Question: Hindi
How many horizontal lines segments will be in
front view and top view respectively
Answers
Answered by
0
Answer:
In both the types of veiw we will find only 1 horizontal line
Answered by
0
Horizontal lines segments will be in front view and top view :
Explanation:
- Given that N points in a plane (numbered 1 through N); for each valid i, the i-th point is Pi=(i, Ai).
- There are N−1 line segments between them (numbered 1 through N−1); for each valid i, the i-th line segment is formed by connecting the points Pi and Pi+1.
- We are given Q horizontal line segments. Each query horizontal line segment is denoted by two points, from a point (x1,y) to a point (x2,y) (where it stops and does not propagate further).
- For Every Horizontal line segment, you have to find the number of line segments from those (N-1 line segments) it collides with on the way.
- So this is the problem where,
- 2<=N<= 100000
- 1<=Q<= 100000
- A plane is parallel to the horizontal plane and perpendicular to the vertical plane, Front view, A-line, Top view, True Shape.
Similar questions