"DFS with check of an already seen node in the graph would work
from collections import deque, defaultdict
from typing import List
def iscourseloopdfs(idcourse: int, graph: defaultdict[list]) -> bool:
stack = deque([(id_course)])
seen_courses = set()
while stack:
print(stack)
curr_course = stack.pop()
if currcourse in seencourses:
return True
seencourses.add(currcourse)
for dependency in graph[curr_course]:
"
Gabriele G. - "DFS with check of an already seen node in the graph would work
from collections import deque, defaultdict
from typing import List
def iscourseloopdfs(idcourse: int, graph: defaultdict[list]) -> bool:
stack = deque([(id_course)])
seen_courses = set()
while stack:
print(stack)
curr_course = stack.pop()
if currcourse in seencourses:
return True
seencourses.add(currcourse)
for dependency in graph[curr_course]:
"See full answer
"I use ChatGPT a lot to either refine my own answers or stories and make them better, or to answer questions which I would then refine to be more personal to me.
Here's what ChatGPT says about this question:
This question is testing your analytical thinking, data-driven decision-making, and product sense—especially in the context of Meta’s focus on engagement and content ranking. The best approach is to **define key engagement metrics, outline an experiment design, and consider trade-of"
Robert H. - "I use ChatGPT a lot to either refine my own answers or stories and make them better, or to answer questions which I would then refine to be more personal to me.
Here's what ChatGPT says about this question:
This question is testing your analytical thinking, data-driven decision-making, and product sense—especially in the context of Meta’s focus on engagement and content ranking. The best approach is to **define key engagement metrics, outline an experiment design, and consider trade-of"See full answer
"Goal/Vission of company
Understanding of Whatsapp -> Whatsapp platform for people where they can connect with people remotely, they can chat with them, they can do a video call, they can send pdf, location, contacts, etc. Basically, clarify your understanding of WhatsApp.
Whatsapp Goal -> connecting the people remotely in a hassle-free manner
Vission 3-4 years down the line -> More engagement and retention of the users.
For this vision what is the user's intended action
Define"
Anonymous Muskox - "Goal/Vission of company
Understanding of Whatsapp -> Whatsapp platform for people where they can connect with people remotely, they can chat with them, they can do a video call, they can send pdf, location, contacts, etc. Basically, clarify your understanding of WhatsApp.
Whatsapp Goal -> connecting the people remotely in a hassle-free manner
Vission 3-4 years down the line -> More engagement and retention of the users.
For this vision what is the user's intended action
Define"See full answer
"I will start with discussing the Google mission statement, which is to organize the world's information and make it easily accessible to everyone to help them get things done, and make their day a bit easier.
I will think about building something that will leapfrog this mission.
Google has already organized all of the world's public digital information in the current state. There are opportunities to get more information into a digital form. But there are also significant improvements in mak"
Praveen - "I will start with discussing the Google mission statement, which is to organize the world's information and make it easily accessible to everyone to help them get things done, and make their day a bit easier.
I will think about building something that will leapfrog this mission.
Google has already organized all of the world's public digital information in the current state. There are opportunities to get more information into a digital form. But there are also significant improvements in mak"See full answer
" logo
Contact
Interview Preparation
Application Process
Career Advancement
Onboarding and Orientation
Common Interview Questions
Dashboard Creation Interview Questions and Answers
Dashboard Creation Interview Questions and Answers
What is a dashboard?
Answer: A dashboard is a visual representation of key performance indicators (KPIs) and other important data, designed to provide a high-level overview of a specific area or business process. It typically uses charts, graphs, and other da"
Ankit kumar S. - " logo
Contact
Interview Preparation
Application Process
Career Advancement
Onboarding and Orientation
Common Interview Questions
Dashboard Creation Interview Questions and Answers
Dashboard Creation Interview Questions and Answers
What is a dashboard?
Answer: A dashboard is a visual representation of key performance indicators (KPIs) and other important data, designed to provide a high-level overview of a specific area or business process. It typically uses charts, graphs, and other da"See full answer
"Before jumping in to answer, I want us to be on the same page regarding a few things:
I am the PM for Coinbase app; not for coinbase pro or wallet etc.
The very fact that a token will list on Coinbase increases the price / market activity around the token. We want to create a process which takes this into consideration.
Users trust coinbase. Therefore, the assets listed on coinbase need significant vetting before they can be put on the system.
Technology integrations - How much work"
Prateek S. - "Before jumping in to answer, I want us to be on the same page regarding a few things:
I am the PM for Coinbase app; not for coinbase pro or wallet etc.
The very fact that a token will list on Coinbase increases the price / market activity around the token. We want to create a process which takes this into consideration.
Users trust coinbase. Therefore, the assets listed on coinbase need significant vetting before they can be put on the system.
Technology integrations - How much work"See full answer
"Clarifying questions
1/ Any other products in VC portfolio I need to be aware of - "no"
2/ Market focus? - "no"
Started off by stating database marketing
1/ SQL
2/ NoSQL
Data models mostly relational
Database trends
1/ Vector databases
2/ Growth in cloud / fully managed databases
3/ Multi cloud is important to avoid vendor lock in
Ultimately Price/performance is king
Competition
1/ Large cloud providers - AWS/GCP/Azure
2/ Legacy databases - Oracle/SQL Server
3/ Niche players - Vitess, Coc"
Glados - "Clarifying questions
1/ Any other products in VC portfolio I need to be aware of - "no"
2/ Market focus? - "no"
Started off by stating database marketing
1/ SQL
2/ NoSQL
Data models mostly relational
Database trends
1/ Vector databases
2/ Growth in cloud / fully managed databases
3/ Multi cloud is important to avoid vendor lock in
Ultimately Price/performance is king
Competition
1/ Large cloud providers - AWS/GCP/Azure
2/ Legacy databases - Oracle/SQL Server
3/ Niche players - Vitess, Coc"See full answer
"
Functional Requirements
Content Ingestion\:
Ingest news articles from various sources (websites, social media, etc.).
Handle different types of content (text, images, videos).
Content Analysis\:
Extract and preprocess text from articles.
Analyze the content for potential indicators of fake news.
Model Training and Prediction\:
Use machine learning models to classify content as fake or real.
Continuously improve models with new data and f"
Scott S. - "
Functional Requirements
Content Ingestion\:
Ingest news articles from various sources (websites, social media, etc.).
Handle different types of content (text, images, videos).
Content Analysis\:
Extract and preprocess text from articles.
Analyze the content for potential indicators of fake news.
Model Training and Prediction\:
Use machine learning models to classify content as fake or real.
Continuously improve models with new data and f"See full answer
"Clarifying Questions :
Am I the PM at google ? Yes,
For which country Airport are we designing this? Lets assume its a new product so we will design it for the US airports and later expand to other countries.
GTM : When do we need to launch this product? Do we have any time constraints ? Lets assume one year
I am assuming why google wants to enter in this space is because it is an untapped market and google can revolutionize the market with some of the most emerging tehnologies by e"
Tanu M. - "Clarifying Questions :
Am I the PM at google ? Yes,
For which country Airport are we designing this? Lets assume its a new product so we will design it for the US airports and later expand to other countries.
GTM : When do we need to launch this product? Do we have any time constraints ? Lets assume one year
I am assuming why google wants to enter in this space is because it is an untapped market and google can revolutionize the market with some of the most emerging tehnologies by e"See full answer
"Google mission is to organize worlds information and make it universally accessible and useful.
Keeping that in mind will focus on what should be the solve for emerging market.
Clarification: Any specific country Google is thinking about ?
Answer: lets say Ghana it has come often as one of the fast emerging markets and untapped
Clarification: Goal is monetization or growth
Answer: We are entering the market so growth
Based on the clarification above I will think about user segments, p"
Sumeet R. - "Google mission is to organize worlds information and make it universally accessible and useful.
Keeping that in mind will focus on what should be the solve for emerging market.
Clarification: Any specific country Google is thinking about ?
Answer: lets say Ghana it has come often as one of the fast emerging markets and untapped
Clarification: Goal is monetization or growth
Answer: We are entering the market so growth
Based on the clarification above I will think about user segments, p"See full answer
"Question: An array of n integers is given, and a positive integer k, where k << n. k indicates that the absolute difference between each element's current index (icurrent) and the index in the sorted array (isorted) is less than k (|icurr - isorted| < k).
Sort the given array.
The most common solution is with a Heap:
def solution(arr, k):
min_heap = []
result = []
for i in range(len(arr))
heapq.heappush(min_heap, arr[i])
"
Guilherme M. - "Question: An array of n integers is given, and a positive integer k, where k << n. k indicates that the absolute difference between each element's current index (icurrent) and the index in the sorted array (isorted) is less than k (|icurr - isorted| < k).
Sort the given array.
The most common solution is with a Heap:
def solution(arr, k):
min_heap = []
result = []
for i in range(len(arr))
heapq.heappush(min_heap, arr[i])
"See full answer
"Clarifying Questions
Improve Netflix; Geography? India
Vision - Becoming the best global entertainment distribution service
Objective:
Growth
Engagement
Retention
I would focus on Growth because
Highly growing adoption of internet
increasing purchasing power in T2&T3
Indian consumers are constantly in need of finding new content to watch
aligned with Netflix strategy of producing content for indian masses
I believe Netflix has a really good immersive viewing/wathcing"
Sandeep K. - "Clarifying Questions
Improve Netflix; Geography? India
Vision - Becoming the best global entertainment distribution service
Objective:
Growth
Engagement
Retention
I would focus on Growth because
Highly growing adoption of internet
increasing purchasing power in T2&T3
Indian consumers are constantly in need of finding new content to watch
aligned with Netflix strategy of producing content for indian masses
I believe Netflix has a really good immersive viewing/wathcing"See full answer