First non repeating character in a stream Leetcode 387
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=KnWqCfIfHX0
This video explains a very frequently asked programming interview question which is to find the first non-repeating character in a stream of characters. This is an online algorithm which means we need to output answer for each character input. This video explains the problem elegantly using example which takes only O(1) time for each query and so if we have a string of size N then total is just O(N). This is the most efficient solution for this problem. As usual, the CODE LINK is given below. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :) • • CODE LINK: https://gist.github.com/SuryaPratapK/...
#############################
