<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title> by Ramlah Mailok</title>
      <link>https://padlet.com/ramlahmailok/kjp7u0dap0jo</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2015-07-08 04:09:03 UTC</pubDate>
      <lastBuildDate>2019-10-02 14:55:07 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Ramlah Mailok - Data Structure Visualization</title>
         <author>ramlahmailok</author>
         <link>https://padlet.com/ramlahmailok/kjp7u0dap0jo/wish/64261683</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://www.cs.usfca.edu/~galles/visualization/Algorithms.html" />
         <pubDate>2015-07-08 04:09:58 UTC</pubDate>
         <guid>https://padlet.com/ramlahmailok/kjp7u0dap0jo/wish/64261683</guid>
      </item>
      <item>
         <title>Ramlah Mailok - Coding wajib untuk linked list</title>
         <author>ramlahmailok</author>
         <link>https://padlet.com/ramlahmailok/kjp7u0dap0jo/wish/64261734</link>
         <description><![CDATA[<p></p><pre>// Node
public class Link {
	
	public int data;
	public Link next;
	
	
	public Link(int d){
		data= d;
		
		
	}

}

// operasi insert dan papar data 
public class List {

	public Link head;
	
	
	public List (){
		head = null;
		
	}
	
public void insertdata(int data1){
	Link currptr, prevptr=null;
	
	Link newptr = new Link(data1);
	
	if (head == null)
		head = newptr;
	else{
		currptr = head;
		while((currptr!= null) &amp;&amp; (data1 &gt;currptr.data)){
			prevptr = currptr;
			currptr = currptr.next;
		} 
	if (prevptr==null){
		newptr.next = head;
		head=newptr;
			} 
	else{newptr.next=currptr;
	     prevptr.next=newptr;}
				
		
	}
}

public void printlist(){
	Link current = head;
	System.out.print("Cetak senarai :");
	 if (head == null)
		 System.out.print("senarai kosong");
	 else{
		 while (current != null){
			 System.out.print(current.data);
			 current=current.next;
		 }
	 }
		 
}
}
//main atur cara

public class LinkedListTest {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		List node= new List();
		node.insertdata(12);
		node.insertdata(1);
		node.insertdata(4);
		node.insertdata(2);
		node.printlist();

	}

}</pre><p></p>]]></description>
         <enclosure url="" />
         <pubDate>2015-07-08 04:11:16 UTC</pubDate>
         <guid>https://padlet.com/ramlahmailok/kjp7u0dap0jo/wish/64261734</guid>
      </item>
      <item>
         <title>Ramlah Mailok - Data Structure Visualization</title>
         <author>ramlahmailok</author>
         <link>https://padlet.com/ramlahmailok/kjp7u0dap0jo/wish/64261862</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://visualgo.net/" />
         <pubDate>2015-07-08 04:15:15 UTC</pubDate>
         <guid>https://padlet.com/ramlahmailok/kjp7u0dap0jo/wish/64261862</guid>
      </item>
      <item>
         <title>Goto padlet http://padlet.com/ramlahmailok/k20104faapd2</title>
         <author>ramlahmailok</author>
         <link>https://padlet.com/ramlahmailok/kjp7u0dap0jo/wish/64348544</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2015-07-10 02:20:59 UTC</pubDate>
         <guid>https://padlet.com/ramlahmailok/kjp7u0dap0jo/wish/64348544</guid>
      </item>
   </channel>
</rss>
