this is a 2-3 tree and implementing it with code.
You must add code (at the TODO comment) to handle the case whenthe node is a 3-node .
please complete the todo:
~~~~~~~~~~~~
import java.util.LinkedList;
public class TwoThreeIntSet {
private class Node {
int[] items; // the keys/itemsin the node
Node[] subtrees; // the childrenof this node
int nodeType; // the node type(2, 3, or 4)
/**
* Create a new node with item asthe key and two subtrees
*
* @param item
* the key/item for the node
* @param left
* the root
PayPal Gateway not configured
PayPal Gateway not configured