Interview Question
- 0of 0 votes
AnswersSuppose a 2D array of arbitary length is given. Any alphabet is given as input in the form of 0's and 1's with the 1's forming the alphabetical pattern. the topmost, leftmost, rightmost and the bottommost 1's form the border of the pattern. Find the topmost, bottom-most, left-most and the right-most 1 and hence find the dimensions of the margin of the pattern or its height and the width.
- agni.ghosh94 February 09, 2015 in India| Report Duplicate | Flag | PURGE
C
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Interview Type: In-Person
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.