I am trying to loop the nums list and find the subtraction in a hash table, if not found the number is inserted into the hash table until the solution ...
I am trying to loop the nums list and find the subtraction in a hash table, if not found the number is inserted into the hash table until the solution ...
I wrote the code, but for some reason it displays the index 1, 2, 3, while 3 + 4 will in no way be equal to target (6). Input [1,3,4,2] 6 Output [ ...
I’m doing this leetcode problem: https://leetcode.com/problems/balanced-binary-tree/ I already have done another implementation that uses a height fun ...
i have been trying to debug this code that merges two sorted lists into one sorted list im coding this problem from leetcode the logic seems fine t ...