menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Weekly Cha...
source image

Dev

1M

read

35

img
dot

Image Credit: Dev

Weekly Challenge: Strings and Arrays

  • The Weekly Challenge sent out by Mohammad S. Anwar provides two tasks weekly for coding solutions, written in Python and then converted to Perl.
  • Task 1: String Format - Solutions involve formatting a string by removing dashes from groups of a given size separated by dashes.
  • Task 2: Rank Array - Solutions entail returning an array of ranks for each element, where the lowest value has rank 1 and duplicates share the same rank.

Read Full Article

like

2 Likes

For uninterrupted reading, download the app