Meta Interview Question

SQL Coding: 5 questions 4 tables were given and questions were mostly on joins, aggregate functions, sub queries. Python Coding: I guess there were total 5 questions but could reach only till second question. Count the number of words in a sentence. Count the frequency of words from the list and store the results in a hash map.

Interview Answers

Anonymous

Oct 7, 2018

1. words = sentence.split() num_words = len(words) Or for unique words in sentence then unique_words = set(words) 2. from collections import Counter hash_map = Counter(list_of_stuff)

Anonymous

Jan 20, 2019

What is it with everyone asking sharing their e-mails..