Bytedance Coding Interview Questions (Backend intern)
1093

I received an online asssessment after applying to Bytedance for a Software engineering (backend role) at Singapore.

1st Qn:
Find the number of numbers between a lower bound and an upper bound that are in the form of 3^a * 5^b. Eg. if lower bound and upper bound r both 5, the ans is 1 because 1 = 3^0 * 5^0

2nd Qn:

Find the number of patterns in a text. Pattern: pat; Text = pattern. ans is 1

3rd Qn:

Find the number of occurrences of the word DOGE in a 2D grid. If there is a cycle, return -1

Comments (0)