Max XOR of 2 numbers in an array | Leetcode #421

preview_player
Показать описание
This video explains about finding the maximum XOR of 2 numbers in an array. We will learn the TRIE implementation to solve this problem which is one of the most intuitive approach.

-------------------------------------------------------------------------------------------------------------------------
🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦 through whatsapp query: +91 8918633037
🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦 through whatsapp query: +91 8918633037
-------------------------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Best video. Thanks man for your efforts

someshpatel
Автор

can we fix the max value and search for negation of max value in trie instead of searching the negation of each a value with max value. here traversal will reduce for to only traversing trie one time(32 bits) + o(n) for insertion

anirudhrs
Автор

This was not supposed to be a medium problem, this is a hard problem.

anantakesharipanda