Uses of Class
org.drip.service.common.ListUtil.ListNode
Package | Description |
---|---|
org.drip.service.common |
Assorted Data Structures Support Utilities
|
-
Uses of ListUtil.ListNode in org.drip.service.common
Methods in org.drip.service.common that return ListUtil.ListNode Modifier and Type Method Description static ListUtil.ListNode<java.lang.Integer>
ListUtil. Add(ListUtil.ListNode<java.lang.Integer> headNode1, ListUtil.ListNode<java.lang.Integer> headNode2)
You are given two non-empty linked lists representing two non-negative integers.static <V> ListUtil.ListNode<V>
ListUtil. IntersectingNode(ListUtil.ListNode<V> headNode1, ListUtil.ListNode<V> headNode2)
Write a program to find the node at which the intersection of two singly linked lists begins.ListUtil.ListNode<V>
ListUtil.ListNode. next()
Retrieve the Next Nodestatic <V> ListUtil.ListNode<V>
ListUtil. Rotate(ListUtil.ListNode<V> head, int k)
Given a linked list, rotate the list to the right by k places, where k is non-negative.Methods in org.drip.service.common with parameters of type ListUtil.ListNode Modifier and Type Method Description static ListUtil.ListNode<java.lang.Integer>
ListUtil. Add(ListUtil.ListNode<java.lang.Integer> headNode1, ListUtil.ListNode<java.lang.Integer> headNode2)
You are given two non-empty linked lists representing two non-negative integers.static <V> ListUtil.ListNode<V>
ListUtil. IntersectingNode(ListUtil.ListNode<V> headNode1, ListUtil.ListNode<V> headNode2)
Write a program to find the node at which the intersection of two singly linked lists begins.static <V> boolean
ListUtil. OddEvenNodeShuffle(ListUtil.ListNode<V> head)
Given a singly linked list, group all odd nodes together followed by the even nodes.static <V> ListUtil.ListNode<V>
ListUtil. Rotate(ListUtil.ListNode<V> head, int k)
Given a linked list, rotate the list to the right by k places, where k is non-negative.boolean
ListUtil.ListNode. setNext(ListUtil.ListNode<V> next)
Set the Next NodeConstructors in org.drip.service.common with parameters of type ListUtil.ListNode Constructor Description ListNode(V value, ListUtil.ListNode<V> next)
ListNode Constructor