TWC - 93 - ZOHO INTERVIEW QUESTIONS - Strobogrammatic Number

preview_player
Показать описание
Problem Statement :
A strobogrammatic number is a positive number that appears the same after being rotated 180 degrees. For example, 16891 is strobogrammatic.
Find the given number is a strobogrammatic number ?

Input : 16891
Output : Yes
Explanation : After 180degree rotation, 16891 becomes 16891, both are equal so it’s a strobogrammatic number

Input : 960069
Output : no
Explanation : After 180degree rotation, 960069 becomes 690096, both are unequal so it’s not a strobogrammatic
Number

Join our TEQ Weekly Coding Group and share your comments. If you want any programs to be solved. Update us in that Group.

For Interview Packages :
Contact: Ismail NS, 88830 76220

T4TEQ Software Solutions is one of the top training companies in Tamilnadu, India. We have planned to put weekly interview programs.
Like the video
Comment on the video
Subscribe for more videos

Are you planning to do an online course?
Are you planning to do career development courses?
Are you stepping into college?

Here we are, T4TEQ Software solutions, Trichy
We are ready to support you...

Рекомендации по теме
Комментарии
Автор

If they had asked as numbers in calculator 2 and 5 would have also been considered as strobogramatic numbers as they give the same result even on inverting them upside down. Cover this edge case too sir

srinivasanbalasubramaniam
Автор

please try to upload videos Frequently both in c and java

devadharsank
welcome to shbcf.ru