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)
-
Uses of ListNode in g1101_1200.s1171_remove_zero_sum_consecutive_nodes_from_linked_list
Methods in g1101_1200.s1171_remove_zero_sum_consecutive_nodes_from_linked_list that return ListNode Modifier and Type Method Description ListNode
Solution. removeZeroSumSublists(ListNode head)
Methods in g1101_1200.s1171_remove_zero_sum_consecutive_nodes_from_linked_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. removeZeroSumSublists(ListNode head)
-
Uses of ListNode in g1201_1300.s1290_convert_binary_number_in_a_linked_list_to_integer
Methods in g1201_1300.s1290_convert_binary_number_in_a_linked_list_to_integer with parameters of type ListNode Modifier and Type Method Description int
Solution. getDecimalValue(ListNode head)
-
Uses of ListNode in g1301_1400.s1367_linked_list_in_binary_tree
Methods in g1301_1400.s1367_linked_list_in_binary_tree with parameters of type ListNode Modifier and Type Method Description boolean
Solution. isSubPath(ListNode head, TreeNode root)
-
Uses of ListNode in g1601_1700.s1669_merge_in_between_linked_lists
Methods in g1601_1700.s1669_merge_in_between_linked_lists that return ListNode Modifier and Type Method Description ListNode
Solution. mergeInBetween(ListNode list1, int a, int b, ListNode list2)
Methods in g1601_1700.s1669_merge_in_between_linked_lists with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. mergeInBetween(ListNode list1, int a, int b, ListNode list2)
-
Uses of ListNode in g1701_1800.s1721_swapping_nodes_in_a_linked_list
Methods in g1701_1800.s1721_swapping_nodes_in_a_linked_list that return ListNode Modifier and Type Method Description ListNode
Solution. swapNodes(ListNode head, int k)
Methods in g1701_1800.s1721_swapping_nodes_in_a_linked_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. swapNodes(ListNode head, int k)
-
Uses of ListNode in g2001_2100.s2058_find_the_minimum_and_maximum_number_of_nodes_between_critical_points
Methods in g2001_2100.s2058_find_the_minimum_and_maximum_number_of_nodes_between_critical_points with parameters of type ListNode Modifier and Type Method Description int[]
Solution. nodesBetweenCriticalPoints(ListNode head)
-
Uses of ListNode in g2001_2100.s2074_reverse_nodes_in_even_length_groups
Methods in g2001_2100.s2074_reverse_nodes_in_even_length_groups that return ListNode Modifier and Type Method Description ListNode
Solution. reverseEvenLengthGroups(ListNode head)
Methods in g2001_2100.s2074_reverse_nodes_in_even_length_groups with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. reverseEvenLengthGroups(ListNode head)
-
Uses of ListNode in g2001_2100.s2095_delete_the_middle_node_of_a_linked_list
Methods in g2001_2100.s2095_delete_the_middle_node_of_a_linked_list that return ListNode Modifier and Type Method Description ListNode
Solution. deleteMiddle(ListNode head)
Methods in g2001_2100.s2095_delete_the_middle_node_of_a_linked_list with parameters of type ListNode Modifier and Type Method Description ListNode
Solution. deleteMiddle(ListNode head)
-