Stack Palindrom - Sulthan Atha Muhammad (21082010126)
Class cNode package Stack; public class cNode { private char huruf; cNode next, prev; cNode(char hrf){ huruf=hrf; } public char getHuruf(){ return huruf; } } Class cStack package Stack; public class cStack { cNode atas , bawah; int jumlah; cStack(){ atas=bawah=null; jumlah=0; } public void push(cNode baru){ if(atas==null){ atas=bawah=baru; }else{ baru.next=atas; atas.prev=baru; atas=baru; } } public cNode pop(){ if(at...