Mar
22
2016

strukdat sesi 3

STACK

-LIFO(last in first out)

-Ada 3 macam:

  • push (masukin data)
  • pop (keluarin data)
  • top (ambil data teratas)

QUEUE

-FIFO

-priority(ada yang di utamakan)

-circular(yang keluar ngantri lagi)

Postfix

operand dahulu baru operator

Prefix

operaor dahulu baru operand

DFS

Depth First Search

BFS

Breadth First Search

Written by winsenw in: Uncategorized |

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

Powered by WordPress. Theme: TheBuckmaker. Zinsen, Streaming Audio