Pergunta de entrevista da empresa Meta

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.

Respostas da entrevista

Sigiloso

7 de out. de 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)

Sigiloso

20 de jan. de 2019

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