Q1_20250829125644.webp
blue_sky

Q1_20250829125644.webp

  • Media owner blue_sky
  • Ngày thêm
☑Kizspy.me
Searching for Order ID in BST: Order7
The expected output used to test your code are as follows:
Zoom
Action Log Stack: (Action7,Modified) (Action6,Placed) (Action5,Returned)
(Action4,Canceled) (Action3,Shipped) (Action2,Updated) (Action1,Placed)
Order BST: (Order0,F,2500.0) (Order1,D,3000.0) (Order2,B,200.0) (Order3,E,150.0)
(Order4,C,500.0) (Order6,A,1000.0) (Order9,G,800.0)
Order not found in BST←
c. f30-2 marks: In this task, students need to perform the findMin() method in
OrderBST. This function will printout the Order with the lowest "alphabetical"
orderID, which is the first order in the inOrder traversal.
The expected output used to test your code are as follows:
Action Log Stack: (Action7,Modified) (Action6,Placed) (Action5,Returned)
(Action4,Canceled) (Action3,Shipped) (Action2,Updated) (Action1,Placed)
Order BST: (Order0,F,2500.0) (Order1,D,3000.0) (Order2,B,200.0) (Order3,E,150.0)
(Order4,C,500.0) (Order6,A,1000.0) (Order9,G,800.0)
Lowest Alphabetical Order ID in BST: (Order0,F,2500.0)←
d. f40)-3 marks: In this task, students need to be able to perform these following methods:
• pop() in ActionLogStack method is used to pop the top action in ActionLogStack,
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
CSD201
Thêm bởi
blue_sky
Ngày thêm
Lượt xem
9,394
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom