0% found this document useful (0 votes)
279 views

Zoho Interview Question

The document contains 7 questions related to sorting words by letter count, swapping matrix diagonals, reversing string characters only, counting palindromes in a string, right shifting and rotating a matrix columns, traversing a matrix in a coil shape, and finding the minimum path in a matrix from a starting point.

Uploaded by

Rani rani
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
279 views

Zoho Interview Question

The document contains 7 questions related to sorting words by letter count, swapping matrix diagonals, reversing string characters only, counting palindromes in a string, right shifting and rotating a matrix columns, traversing a matrix in a coil shape, and finding the minimum path in a matrix from a starting point.

Uploaded by

Rani rani
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Question 1)sort the word based on number of letters and priority of the word

Example:i/p-zoho, o/p-oohz
I/p-corporation, o/p-ooorracipnt
Question 2)swap the diagonals of the given square matrix
Question 3)Reverse a string but only characters of the string should be reversed
Example:i/p-a, $sc@#z&c,o/p-z,$cs@#a
Question 4)count and print the number of palindrome in the given string.
Example:i/p-assabbas, o/p-5(assa,ss, abba, bb, sabbas)
Question 5)Right shift the column k times of the matrix and rotate it.
Question 6)Traverse the matrix like coil shape and print it.
Question 7)find the minimum path of the given starting point in the given matrix.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy