ผลต่างระหว่างรุ่นของ "Adt lab/Data structure problems 1/hints"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
แถว 11: แถว 11:
  
 
* UVa 299 - Train swapping
 
* UVa 299 - Train swapping
 +
** You can just try to actually swap carriages so that the train is sorted.
 
* UVa 296 - Safebreaker
 
* UVa 296 - Safebreaker
 +
** Try all and check.
 
* UVa 686 - Goldbach's Conjecture (II)  
 
* UVa 686 - Goldbach's Conjecture (II)  
 +
** Try and check.
  
 
* (optional) UVa 11234 - Expressions
 
* (optional) UVa 11234 - Expressions

รุ่นแก้ไขเมื่อ 09:27, 17 พฤศจิกายน 2559

Hints for Data structure problems 1

  • UVa 11988 - Broken Keyboard (a.k.a. Beiju Text)
    • Maintain a list of characters typed. Make sure you follow the current location.
  • UVa 10935 - Throwing cards away I
    • Maintain a list of cards.
  • UVa 514 - Rails
    • Try to simulate how the coaches move. At any point, there is a very limited way you can move the coaches.
  • UVa 699 - The Falling Leaves
    • Reading the input is the probably the hardest step. You may want to use recursion to read the input, build a tree, and find the solution
  • UVa 299 - Train swapping
    • You can just try to actually swap carriages so that the train is sorted.
  • UVa 296 - Safebreaker
    • Try all and check.
  • UVa 686 - Goldbach's Conjecture (II)
    • Try and check.
  • (optional) UVa 11234 - Expressions