private static Node deleteNode(Node h, int value){
		if(h==null) return null;
		if(h.v==value) return h.next;
		Node curr = h.next;
		Node prev = h;
		while(curr!=null){
			if(curr.v == value){
				prev.next = curr.next;
				break;
			}
			prev = curr;
			curr = curr.next;
		}
		return h;
	}