menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Weekly Cha...
source image

Dev

2d

read

74

img
dot

Image Credit: Dev

Weekly Challenge: Sorted equally

  • You are given three strings.
  • Write a script to return the number of operations to make it equal otherwise -1.
  • For the first task, the solution determines the longest string where all characters are the same.
  • For the second task, the solution checks if all strings have the same length and deletes any non-sorted columns.

Read Full Article

like

4 Likes

For uninterrupted reading, download the app