"Sharing the approach for functional requirements we tool to solve this question.
Functional Requirements
This is only for the Registered users
What is a "For You" page ?
Home page where you get suggestions based on
people you follow.
Interactions
like/share/comments (done by user)
Interests (shared by the user during registration or onboarding)
sports choices/ region choices/
Video sharing platform.
So how many videos should we s"
Anonymous Hare - "Sharing the approach for functional requirements we tool to solve this question.
Functional Requirements
This is only for the Registered users
What is a "For You" page ?
Home page where you get suggestions based on
people you follow.
Interactions
like/share/comments (done by user)
Interests (shared by the user during registration or onboarding)
sports choices/ region choices/
Video sharing platform.
So how many videos should we s"See full answer
"Mission for TikTok shop is to increase brand growth and sales.
TikTok gives platform to these brands/advertiser to market their products via influencers/creators to be able to sell their products faster and users on tiktok platform(mainly Gen-z) are motivated to make inspirational based discovery of products and purchase them
So main objective for TikTok shop could be
Increase sales for diverse brands
So, some of the metrics to consider would be:
no of orders placed per week"
Nikita B. - "Mission for TikTok shop is to increase brand growth and sales.
TikTok gives platform to these brands/advertiser to market their products via influencers/creators to be able to sell their products faster and users on tiktok platform(mainly Gen-z) are motivated to make inspirational based discovery of products and purchase them
So main objective for TikTok shop could be
Increase sales for diverse brands
So, some of the metrics to consider would be:
no of orders placed per week"See full answer
"Initialize left pointer: Set a left pointer left to 0.
Iterate through the array: Iterate through the array from left to right.
If the current element is not 0, swap it with the element at the left pointer and increment left.
Time complexity: O(n). The loop iterates through the entire array once, making it linear time.
Space complexity: O(1). The algorithm operates in-place, modifying the input array directly without using additional data structures.
"
Avon T. - "Initialize left pointer: Set a left pointer left to 0.
Iterate through the array: Iterate through the array from left to right.
If the current element is not 0, swap it with the element at the left pointer and increment left.
Time complexity: O(n). The loop iterates through the entire array once, making it linear time.
Space complexity: O(1). The algorithm operates in-place, modifying the input array directly without using additional data structures.
"See full answer
"\# Definition for a binary tree node.
class TreeNode:
def init(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
class Solution:
def maxPathSum(self, root: TreeNode) -> int:
self.max_sum = float('-inf')"
Jerry O. - "\# Definition for a binary tree node.
class TreeNode:
def init(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
class Solution:
def maxPathSum(self, root: TreeNode) -> int:
self.max_sum = float('-inf')"See full answer
"Proposed Solution: Awareness and Control Features
Algorithm Awareness Campaign Educational Content: Create short videos explaining how the algorithm works to enhance user experience.
Transparency Reports: Regular updates on algorithm changes to keep users informed.
User-Controlled Engagement Settings Customizable Feed Options: Allow users to adjust content preferences and limit certain types of videos.
Time Management Tools: Introduce reminders for screen time limits an"
Jaswanth P. - "Proposed Solution: Awareness and Control Features
Algorithm Awareness Campaign Educational Content: Create short videos explaining how the algorithm works to enhance user experience.
Transparency Reports: Regular updates on algorithm changes to keep users informed.
User-Controlled Engagement Settings Customizable Feed Options: Allow users to adjust content preferences and limit certain types of videos.
Time Management Tools: Introduce reminders for screen time limits an"See full answer
"Clarifying questions:
Will it be a separate app of Google maps or integrated into an existing one? Let's say it will be integrated into an existing app.
Which disabilities users have? Any of your choice.
For which audience are we building this product? Any exact geo, age, gender? Any of your choice.
How many resources we have? Any timeline for the product to be launched? Need to launch a product in a year and any resources required.
Google's mission is to organize the world's"
Maria T. - "Clarifying questions:
Will it be a separate app of Google maps or integrated into an existing one? Let's say it will be integrated into an existing app.
Which disabilities users have? Any of your choice.
For which audience are we building this product? Any exact geo, age, gender? Any of your choice.
How many resources we have? Any timeline for the product to be launched? Need to launch a product in a year and any resources required.
Google's mission is to organize the world's"See full answer
"TikTok → short-form video platform where users share, post, comment, and like each other’s videos
Clarifying Questions
Define Active → Users who are opening the app at least once a day for a particular duration say 1 min
Geography? Consider India for this case
Is the source/BI Tool where we saw the drop valid enough?
TikTok is both on the app as well as browser - Where are we seeing the drop?
Is there a particular platform wherein we are seeing the drop? Android or iOS
New"
Disha - "TikTok → short-form video platform where users share, post, comment, and like each other’s videos
Clarifying Questions
Define Active → Users who are opening the app at least once a day for a particular duration say 1 min
Geography? Consider India for this case
Is the source/BI Tool where we saw the drop valid enough?
TikTok is both on the app as well as browser - Where are we seeing the drop?
Is there a particular platform wherein we are seeing the drop? Android or iOS
New"See full answer
"CQ:
TikTok is a short-form video platform
Elderly here means older than 65 years age? Retire folks with more leisure time.
Do we currently have elderly viewers and or creators on our current platform?
Mission:
TikTok's mission is to inspire creativity and bring joy.
Strategy:
For elderly, they are retired with more free time to enjoy life and consume entertainment content. The elderly also have lost creativity as they age and we see higher levels of creativity with younger folk"
Tracy C. - "CQ:
TikTok is a short-form video platform
Elderly here means older than 65 years age? Retire folks with more leisure time.
Do we currently have elderly viewers and or creators on our current platform?
Mission:
TikTok's mission is to inspire creativity and bring joy.
Strategy:
For elderly, they are retired with more free time to enjoy life and consume entertainment content. The elderly also have lost creativity as they age and we see higher levels of creativity with younger folk"See full answer
"I
aim to utilize hands-on activities to apply the knowledge I've acquired, safeguard the organization from threat actors, and contribute to its growth."
Bravin V. - "I
aim to utilize hands-on activities to apply the knowledge I've acquired, safeguard the organization from threat actors, and contribute to its growth."See full answer
"Actually, all experiences in my life have been important so far. I say this with conviction since i consider myself a highly introspective person and often find ways to make myself more efficient. So, retrospection becomes very important for me. Still amongst them, the most valuable experience for me during my entrance exam preparation. I wasn't a good scorer and despite studying for the entire day couldnt score marks. It my self confidence to plummet. In the final days of the exam, i just told"
Trusha M. - "Actually, all experiences in my life have been important so far. I say this with conviction since i consider myself a highly introspective person and often find ways to make myself more efficient. So, retrospection becomes very important for me. Still amongst them, the most valuable experience for me during my entrance exam preparation. I wasn't a good scorer and despite studying for the entire day couldnt score marks. It my self confidence to plummet. In the final days of the exam, i just told"See full answer
"Getting things done. Since the job is all about leading without authority, it is important to always have the north star in mind.
When all in the team do not agree or see a potential solution:
Data based evidence : Provide testing results/ Analysis results/ PoC on showing why a potential solution might be better than others,
Bring in a trusted stakeholder : Have a conversation with the trusted stakeholder who first believes in the solution, then vouches for the solution to the team
"
Googlepm 1. - "Getting things done. Since the job is all about leading without authority, it is important to always have the north star in mind.
When all in the team do not agree or see a potential solution:
Data based evidence : Provide testing results/ Analysis results/ PoC on showing why a potential solution might be better than others,
Bring in a trusted stakeholder : Have a conversation with the trusted stakeholder who first believes in the solution, then vouches for the solution to the team
"See full answer
"
from typing import List
def getnumberof_islands(binaryMatrix: List[List[int]]) -> int:
if not binaryMatrix: return 0
rows = len(binaryMatrix)
cols = len(binaryMatrix[0])
islands = 0
for r in range(rows):
for c in range(cols):
if binaryMatrixr == 1:
islands += 1
dfs(binaryMatrix, r, c)
return islands
def dfs(grid, r, c):
if (
r = len(grid)
"
Rick E. - "
from typing import List
def getnumberof_islands(binaryMatrix: List[List[int]]) -> int:
if not binaryMatrix: return 0
rows = len(binaryMatrix)
cols = len(binaryMatrix[0])
islands = 0
for r in range(rows):
for c in range(cols):
if binaryMatrixr == 1:
islands += 1
dfs(binaryMatrix, r, c)
return islands
def dfs(grid, r, c):
if (
r = len(grid)
"See full answer
"def find_primes(n):
lst=[]
for i in range(2,n+1):
is_prime=1
for j in range(2,int(i**0.5)+1):
if i%j==0:
is_prime=0
break
if is_prime:
lst.append(i)
return lst
"
Anonymous Raccoon - "def find_primes(n):
lst=[]
for i in range(2,n+1):
is_prime=1
for j in range(2,int(i**0.5)+1):
if i%j==0:
is_prime=0
break
if is_prime:
lst.append(i)
return lst
"See full answer
"from typing import List
def three_sum(nums: List[int]) -> List[List[int]]:
nums.sort()
triplets = set()
for i in range(len(nums) - 2):
firstNum = nums[i]
l = i + 1
r = len(nums) - 1
while l 0:
r -= 1
elif potentialSum < 0:
l += 1
"
Anonymous Roadrunner - "from typing import List
def three_sum(nums: List[int]) -> List[List[int]]:
nums.sort()
triplets = set()
for i in range(len(nums) - 2):
firstNum = nums[i]
l = i + 1
r = len(nums) - 1
while l 0:
r -= 1
elif potentialSum < 0:
l += 1
"See full answer