Message on Whatsapp 8879355057 for DSA(OA + Interview) + Fullstack Dev Training + 1-1 Personalized Mentoring to get 10+LPA Job
0 like 0 dislike
735 views
in Interview-Experiences by Expert (30,360 points) | 735 views

1 Answer

0 like 0 dislike
Google | Phone | SWE-India

 February 8, 2022

I had my telephonic round today.(45 Min)

 

Question's were:

 

Given text and the width of a page, find how many lines the text would take on that page.
I gave the Solution (Similar to Text Justification on Leetcode)
 

https://leetcode.com/problems/text-justification/description/)

 

Given a text data that you’d like to put into a two-column table on a fixed-width page, find the best column size that minimizes the overall height of the table.
 

--> This was the follow up Question.(I gave the solution Using Binary Search)
by Expert (30,360 points)