Three number sum | Algorithm | Interview question | Javascript

preview_player
Показать описание
Three number sum or Three sum (3sum) is a commonly asked interview question, in this video we will see how to solve three number sum problem using Javascript. This approach will the same for all other languages as well.

#threeNumberSum #threeSumProblem #3SumProblem

Problem definition:
From the given array, EFFICIENTLY find two numbers sum together to get the target number.

Our approach:
Two pointer

Complexities:
# Time - O(n)
# Space - O(n)

Chapters:

Thanks for watching. Happy learning.
Рекомендации по теме
Комментарии
Автор

I like your teaching approach. I wish you would create more of these videos. Your channel would grow bigger.

sallymuthoniwambui
welcome to shbcf.ru