Uses of Class
com_github_leetcode.ListNode
-
-
Uses of ListNode in com_github_leetcode
Fields in com_github_leetcode declared as ListNode Modifier and Type Field Description ListNode
ListNode. next
Constructors in com_github_leetcode with parameters of type ListNode Constructor Description ListNode(int val, ListNode next)
-
Uses of ListNode in g0001_0100.s0002_add_two_numbers
Methods in g0001_0100.s0002_add_two_numbers that return ListNode Modifier and Type Method Description ListNode
Solution. addTwoNumbers(ListNode l1, ListNode l2)
Methods in g0001_0100.s0002_add_two_numbers with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. addTwoNumbers(ListNode l1, ListNode l2)
-
Uses of ListNode in g0001_0100.s0019_remove_nth_node_from_end_of_list
Methods in g0001_0100.s0019_remove_nth_node_from_end_of_list that return ListNode Modifier and Type Method Description ListNode
Solution. removeNthFromEnd(ListNode head, int n)
Methods in g0001_0100.s0019_remove_nth_node_from_end_of_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. removeNthFromEnd(ListNode head, int n)
-
Uses of ListNode in g0001_0100.s0021_merge_two_sorted_lists
Methods in g0001_0100.s0021_merge_two_sorted_lists that return ListNode Modifier and Type Method Description ListNode
Solution. mergeTwoLists(ListNode l1, ListNode l2)
Methods in g0001_0100.s0021_merge_two_sorted_lists with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. mergeTwoLists(ListNode l1, ListNode l2)
-
Uses of ListNode in g0001_0100.s0023_merge_k_sorted_lists
Methods in g0001_0100.s0023_merge_k_sorted_lists that return ListNode Modifier and Type Method Description ListNode
Solution. mergeKLists(ListNode[] lists)
Methods in g0001_0100.s0023_merge_k_sorted_lists with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. mergeKLists(ListNode[] lists)
-
Uses of ListNode in g0001_0100.s0024_swap_nodes_in_pairs
Methods in g0001_0100.s0024_swap_nodes_in_pairs that return ListNode Modifier and Type Method Description ListNode
Solution. swapPairs(ListNode head)
Methods in g0001_0100.s0024_swap_nodes_in_pairs with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. swapPairs(ListNode head)
-
Uses of ListNode in g0001_0100.s0025_reverse_nodes_in_k_group
Methods in g0001_0100.s0025_reverse_nodes_in_k_group that return ListNode Modifier and Type Method Description ListNode
Solution. reverseKGroup(ListNode head, int k)
Methods in g0001_0100.s0025_reverse_nodes_in_k_group with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. reverseKGroup(ListNode head, int k)
-
Uses of ListNode in g0001_0100.s0061_rotate_list
Methods in g0001_0100.s0061_rotate_list that return ListNode Modifier and Type Method Description ListNode
Solution. rotateRight(ListNode head, int k)
Methods in g0001_0100.s0061_rotate_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. rotateRight(ListNode head, int k)
-
Uses of ListNode in g0001_0100.s0082_remove_duplicates_from_sorted_list_ii
Methods in g0001_0100.s0082_remove_duplicates_from_sorted_list_ii that return ListNode Modifier and Type Method Description ListNode
Solution. deleteDuplicates(ListNode head)
Methods in g0001_0100.s0082_remove_duplicates_from_sorted_list_ii with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. deleteDuplicates(ListNode head)
-
Uses of ListNode in g0001_0100.s0083_remove_duplicates_from_sorted_list
Methods in g0001_0100.s0083_remove_duplicates_from_sorted_list that return ListNode Modifier and Type Method Description ListNode
Solution. deleteDuplicates(ListNode head)
Methods in g0001_0100.s0083_remove_duplicates_from_sorted_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. deleteDuplicates(ListNode head)
-
Uses of ListNode in g0001_0100.s0086_partition_list
Methods in g0001_0100.s0086_partition_list that return ListNode Modifier and Type Method Description ListNode
Solution. partition(ListNode head, int x)
Methods in g0001_0100.s0086_partition_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. partition(ListNode head, int x)
-
Uses of ListNode in g0001_0100.s0092_reverse_linked_list_ii
Methods in g0001_0100.s0092_reverse_linked_list_ii that return ListNode Modifier and Type Method Description ListNode
Solution. reverse(ListNode head)
ListNode
Solution. reverseBetween(ListNode head, int left, int right)
Methods in g0001_0100.s0092_reverse_linked_list_ii with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. reverse(ListNode head)
ListNode
Solution. reverseBetween(ListNode head, int left, int right)
-
Uses of ListNode in g0101_0200.s0109_convert_sorted_list_to_binary_search_tree
Methods in g0101_0200.s0109_convert_sorted_list_to_binary_search_tree with parameters of type ListNode Modifier and Type Method Description TreeNode
Solution. sortedListToBST(ListNode head)
-
Uses of ListNode in g0101_0200.s0141_linked_list_cycle
Methods in g0101_0200.s0141_linked_list_cycle with parameters of type ListNode Modifier and Type Method Description boolean
Solution. hasCycle(ListNode head)
-
Uses of ListNode in g0101_0200.s0142_linked_list_cycle_ii
Methods in g0101_0200.s0142_linked_list_cycle_ii that return ListNode Modifier and Type Method Description ListNode
Solution. detectCycle(ListNode head)
Methods in g0101_0200.s0142_linked_list_cycle_ii with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. detectCycle(ListNode head)
-
Uses of ListNode in g0101_0200.s0143_reorder_list
Methods in g0101_0200.s0143_reorder_list with parameters of type ListNode Modifier and Type Method Description void
Solution. reorderList(ListNode head)
-
Uses of ListNode in g0101_0200.s0147_insertion_sort_list
Methods in g0101_0200.s0147_insertion_sort_list that return ListNode Modifier and Type Method Description ListNode
Solution. insertionSortList(ListNode head)
Methods in g0101_0200.s0147_insertion_sort_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. insertionSortList(ListNode head)
-
Uses of ListNode in g0101_0200.s0148_sort_list
Methods in g0101_0200.s0148_sort_list that return ListNode Modifier and Type Method Description ListNode
Solution. sortList(ListNode head)
Methods in g0101_0200.s0148_sort_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. sortList(ListNode head)
-
Uses of ListNode in g0101_0200.s0160_intersection_of_two_linked_lists
Methods in g0101_0200.s0160_intersection_of_two_linked_lists that return ListNode Modifier and Type Method Description ListNode
Solution. getIntersectionNode(ListNode headA, ListNode headB)
Methods in g0101_0200.s0160_intersection_of_two_linked_lists with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. getIntersectionNode(ListNode headA, ListNode headB)
-
Uses of ListNode in g0201_0300.s0203_remove_linked_list_elements
Methods in g0201_0300.s0203_remove_linked_list_elements that return ListNode Modifier and Type Method Description ListNode
Solution. removeElements(ListNode head, int val)
Methods in g0201_0300.s0203_remove_linked_list_elements with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. removeElements(ListNode head, int val)
-
Uses of ListNode in g0201_0300.s0206_reverse_linked_list
Methods in g0201_0300.s0206_reverse_linked_list that return ListNode Modifier and Type Method Description ListNode
Solution. reverseList(ListNode head)
Methods in g0201_0300.s0206_reverse_linked_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. reverseList(ListNode head)
-
Uses of ListNode in g0201_0300.s0234_palindrome_linked_list
Methods in g0201_0300.s0234_palindrome_linked_list with parameters of type ListNode Modifier and Type Method Description boolean
Solution. isPalindrome(ListNode head)
-
Uses of ListNode in g0201_0300.s0237_delete_node_in_a_linked_list
Methods in g0201_0300.s0237_delete_node_in_a_linked_list with parameters of type ListNode Modifier and Type Method Description void
Solution. deleteNode(ListNode node)
-
Uses of ListNode in g0301_0400.s0328_odd_even_linked_list
Methods in g0301_0400.s0328_odd_even_linked_list that return ListNode Modifier and Type Method Description ListNode
Solution. oddEvenList(ListNode head)
Methods in g0301_0400.s0328_odd_even_linked_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. oddEvenList(ListNode head)
-
Uses of ListNode in g0301_0400.s0382_linked_list_random_node
Constructors in g0301_0400.s0382_linked_list_random_node with parameters of type ListNode Constructor Description Solution(ListNode head)
-
Uses of ListNode in g0701_0800.s0725_split_linked_list_in_parts
Methods in g0701_0800.s0725_split_linked_list_in_parts that return ListNode Modifier and Type Method Description ListNode[]
Solution. splitListToParts(ListNode head, int k)
Methods in g0701_0800.s0725_split_linked_list_in_parts with parameters of type ListNode Modifier and Type Method Description ListNode[]
Solution. splitListToParts(ListNode head, int k)
-
Uses of ListNode in g0801_0900.s0817_linked_list_components
Methods in g0801_0900.s0817_linked_list_components with parameters of type ListNode Modifier and Type Method Description int
Solution. numComponents(ListNode head, int[] nums)
-
Uses of ListNode in g0801_0900.s0876_middle_of_the_linked_list
Methods in g0801_0900.s0876_middle_of_the_linked_list that return ListNode Modifier and Type Method Description ListNode
Solution. middleNode(ListNode head)
Methods in g0801_0900.s0876_middle_of_the_linked_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. middleNode(ListNode head)
-
Uses of ListNode in g1001_1100.s1019_next_greater_node_in_linked_list
Methods in g1001_1100.s1019_next_greater_node_in_linked_list with parameters of type ListNode Modifier and Type Method Description int[]
Solution. nextLargerNodes(ListNode head)
-