Quadruple Sum to Target (medium)


1

1

August 7, 2020

My Solution Needs No HashMap


2

43

August 5, 2020

Reverse linked list


1

11

August 3, 2020

Slow, fast pointers not really necessary in the O(n) solution


1

14

May 24, 2020

Why did we use base64 encoding after hashing (using md5) the URL. Can we not use the characters from the 128 bit hash value?


1

35

August 4, 2019

Integer.MAX_VALUE edge case?


1

46

November 21, 2019

0/1 Knapsack (Dynamic Programming)  Subset Sum (medium)


1

30

August 19, 2019

Code of solution with searching for nonnegative number


1

28

August 18, 2019

Nvm delete this please


1

58

August 18, 2019

How does reversing the second half of the LinkedList bring the LinkedList back to its original form


1

28

May 21, 2020

Optimized version following solution of Problem Challenge 1


1

104

July 12, 2019

A slightly simpler and a bit more optimized solution


1

16

May 29, 2020

Incorrect solution for Reverse every Kelement Sublist


1

28

March 24, 2020

Could you update the nonnegative number solution


1

26

February 10, 2020

How can we modify two heap approach to handle negative numbers


1

35

March 2, 2020

Question about the time complexity


1

15

May 13, 2020

Why is the space complexity of the sliding window solution O(1)?


1

19

March 2, 2020

Guys, why it is not neccesery to do 'push()' operation in 'pop()' method


1

18

March 14, 2020

Easier solution logic


1

34

June 3, 2020

This can be done in O(N^2LogN) with O(N^2) space


1

18

May 20, 2020

Isn't my algorithm O(N) time complexity for All Paths for a Sum? Compare to O(N lgN) of given solution (i.e. why backtracking is preferred, when we can solve in O(N)?)


1

108

August 10, 2019

Isn't it more efficient to solve with dictionary/hashmap?


1

18

May 6, 2020

Is the Example 2 wrong?


1

49

October 4, 2019

Time complexity should be O(n+n) = O(n)


1

26

March 19, 2020

Start from sink, more order are valid


1

41

January 13, 2020

Solution does not work if an employee E1 has two intervals before E2  EDIT: It works


1

47

January 12, 2020

Runtime Complexity


1

12

June 18, 2020

Are all the examples OK here?


1

38

October 12, 2019

Max Heap initialization (reverse order comparator)


1

67

January 11, 2020

Do we need DP here?


1

42

January 10, 2020
