Primer AI interview question

given json string, return top k bigrams

Interview Answer

Anonymous

Oct 30, 2019

using python standard library to parse json, count bigrams with a hashmap, get top k using a max heap