141-linked-list-cycle 1415-students-and-examinations 144-binary-tree-preorder-traversal 1448-count-good-nodes-in-binary-tree 145-binary-tree-postorder-traversal 1451-minimum-number-of-taps-to-open-to-water-a-garden 1457-pseudo-palindromic-paths-in-a-binary-tree 1461-count-all-valid-pickup-and...
LC_234_palindrome_linked_list.py LC_2359_find_closest_node_to_given_two_nodes.java LC_235_lowest_common_ancestor_of_a_binary_search_tree.java LC_2360_longest_cycle_in_a_graph.java LC_236_lowest_common_ancestor_of_a_binary_tree.java LC_2373_largest_local_values_in_a_matrix.java LC_2374...
141-linked-list-cycle Added README.md file for Linked List Cycle Sep 4, 2023 152-maximum-product-subarray Time: 4 ms (86.97%) | Memory: 13.8 MB (60.46%) - LeetSync Jul 27, 2023 1613-find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree ...
Largest Sum Cycle.cpp 02_Ferbruary_2023 Feb 2, 2023 Largest prime factor.cpp 09_August_2023 Aug 9, 2023 Largest subtree sum in a tree.cpp 28_December_2022 Dec 28, 2022 Last modified ball.cpp 09_January_2023 Jan 9, 2023 Leaders in an array.cpp 18_August_2023 Aug 18, 2023 ...
0141-linked-list-cycle Time: 11 ms (33.96%), Space: 8.5 MB (20.36%) - LeetHub Oct 7, 2023 0144-binary-tree-preorder-traversal Time: 0 ms (100.00%), Space: 8.5 MB (56.26%) - LeetHub Apr 22, 2023 0148-sort-list Time: 150 ms (81.36%), Space: 53.2 MB (79.51%) - LeetHub ...
0142-linked-list-cycle-ii 0143-reorder-list 0144-binary-tree-preorder-traversal 0145-binary-tree-postorder-traversal 0146-lru-cache 0147-insertion-sort-list 0148-sort-list 0149-max-points-on-a-line 0150-evaluate-reverse-polish-notation 0151-reverse-words-in-a-string 0152-maximum-...
Delete a Node in Single Linked List.java Delete without head pointer.java Detect cycle in a directed graph.java Detect cycle in an undirected graph.java Determinant of a Matrix.java Determine if Two Trees are Identical.java Distinct occurrences.java ...
22 changes: 22 additions & 0 deletions 22 141-linked-list-cycle/linked-list-cycle.cpp Original file line numberDiff line numberDiff line change @@ -0,0 +1,22 @@ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next;...