Why starting fast pointer from head.next and not head in splitInHalf method?
|
|
1
|
42
|
November 23, 2022
|
Example expected result wrong
|
|
0
|
35
|
November 2, 2022
|
Why memoize solution #2?
|
|
1
|
44
|
October 12, 2022
|
In the findIndexHigh
|
|
1
|
40
|
October 11, 2022
|
Missing display_tree function implementation
|
|
1
|
39
|
August 20, 2022
|
A better solution using two pointers
|
|
1
|
72
|
August 1, 2022
|
Is solution two assuming the array is sorted?
|
|
2
|
133
|
July 25, 2022
|
Find the Smallest Common Number
|
|
1
|
69
|
July 13, 2022
|
Seems simpler to use built-in functionality - but is it not the "optimal" solution?
|
|
2
|
80
|
July 4, 2022
|
The deque stores elements in decreasing order
|
|
1
|
57
|
June 24, 2022
|
Understandable exception thrown for solution
|
|
3
|
72
|
June 16, 2022
|
String.Substring makes it harder to understand?
|
|
1
|
61
|
June 6, 2022
|
One-pass solution
|
|
1
|
156
|
May 30, 2022
|
Memo + String Scan (no recursion)
|
|
1
|
107
|
May 12, 2022
|
Very confusing description
|
|
2
|
125
|
May 4, 2022
|
Solution on java is actually O(n^2)
|
|
1
|
140
|
April 27, 2022
|
The solution for the problem is given right away instead of the "Try it Yourself" being empty
|
|
1
|
64
|
April 26, 2022
|
Wouldn't the time complexity be a n^4 in the worst case?
|
|
1
|
57
|
April 26, 2022
|
Main.java:537: error: cannot find symbol - even on empty solution
|
|
3
|
86
|
April 26, 2022
|
Would the centroid based solution work?
|
|
0
|
64
|
April 25, 2022
|
This problem doesn't make sense for any language that doesn't allow pointers
|
|
1
|
39
|
April 25, 2022
|
Error in Test harness
|
|
1
|
53
|
April 25, 2022
|
I think the recursive solution can be more concise
|
|
1
|
70
|
April 25, 2022
|
Would this be also an acceptable solution?
|
|
1
|
61
|
April 24, 2022
|
Approach 2 is O(n^2)
|
|
1
|
51
|
April 24, 2022
|
I think there is a different flavor of the same solution with just one pass over the matrix
|
|
1
|
62
|
April 22, 2022
|
Since this is not a question on the string manipulation but rather on stacks a simpler solution with StringTokenizer should be used
|
|
1
|
46
|
April 21, 2022
|
Main.java:265: error: cannot find symbol output += "\"hidden\": " + (result.hidden ? "true" : "false") + ",";
|
|
1
|
46
|
April 21, 2022
|
It would be nice if the problem explanation would mention (at least briefly) other ways the problem could be solved
|
|
1
|
44
|
April 16, 2022
|
Why doesn't this problem include a recursion based solution?
|
|
1
|
67
|
April 15, 2022
|