Search:

Type: Posts; User: john_tran

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,201

    Help me about the Breadth-First-Search??

    I dont know how to input the start-information of the tree like this:
    A-> B -> C - > D
    A-> E -> F
    B-> G
    C-> G -> H -> I
    D-> K
    Find the way from A to I by BFS
    What data structure i wish to...
  2. Replies
    1
    Views
    6,246

    Help me about the Breadth-First-Search??

    I dont know how to input the start-information of the tree like this:
    A-> B -> C - > D
    A-> E -> F
    B-> G
    C-> G -> H -> I
    D-> K
    Find the way from A to I by BFS
    What data structure i wish to...
  3. How to draw a Star-Shaped regular Polygon??

    I need to know about the algorithm to draw a star-shaped polygon. My problem is : give a (x,y) co-ordinate and a lenth d, how i use Bresenham or DDA algorithm to draw a star-shaped???

    In addition:...
  4. i need your help about writing data to file

    I've read the LZW compression algorithm. And i know i must use 12 bit number to code the string.
    But i dont know how to write this code 12 bit to file. Because when using fwrite function, it just...
Results 1 to 4 of 4