Articles by Tag #codewars

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

TIL: How to Trim Trailing Zeros【CodeWars】

Overview 🔍 The challenge No zeros for heros which is 8kyu (easiest level), requires...

Learn More 4 0Dec 2 '24

Know your tools

Yesterday I was doing some challenges in codewars and I got a challenge where I had to “Create a...

Learn More 3 3Jan 24

TIL: LIFO Solution and Regular Exprresion Techniques【CodeWars】

Overview 🔍 The challenge Directions Reduction ask you to find shortest route from array of...

Learn More 3 0Dec 5 '24

If you can't sleep, just count sheep!!

Instructions: If you can't sleep, just count sheeps!! Task: Given a non-negative integer, 3 for...

Learn More 1 0Apr 25

Isograms

Instructions: An isogram is a word that has no repeating letters, consecutive or non-consecutive....

Learn More 0 0Mar 20

Get the Middle Character

Instructions: You are going to be given a non-empty string. Your job is to return the middle...

Learn More 0 0Apr 24

Printer Errors

Instructions: In a factory a printer prints labels for boxes. For one kind of boxes the...

Learn More 0 0May 29

Beginner Series #3 Sum of Numbers

Instructions: Given two integers a and b, which can be positive or negative, find the sum of all the...

Learn More 0 0Mar 22

Transportation on vacation

Instructions: After a hard quarter in the office you decide to get some rest on a vacation. So you...

Learn More 0 0Mar 17

Reverse words

Instructions: Complete the function that accepts a string parameter, and reverses each word in the...

Learn More 0 0Apr 26

Convert boolean values to strings 'Yes' or 'No'.

Instructions: Complete the method that takes a boolean value and return a "Yes" string for true, or a...

Learn More 0 0Apr 22

Disemvowel Trolls

Instructions: Trolls are attacking your comment section! A common way to deal with this situation is...

Learn More 0 0Mar 27

Square Every Digit

Instructions: Welcome. In this kata, you are asked to square every digit of a number and concatenate...

Learn More 0 0Apr 18

Double Char

Instructions: Given a string, you have to return a string in which each character...

Learn More 0 0Jun 1

Are they the "same"?

Instructions: Given two arrays a and b write a function comp(a, b) (orcompSame(a, b)) that...

Learn More 0 0Jun 3

You're a square!

Instructions: You like building blocks. You especially like building blocks that are squares. And...

Learn More 0 0Apr 23

DNA to RNA Conversion

Instructions: Deoxyribonucleic acid, DNA is the primary information storage molecule in biological...

Learn More 0 0Mar 31

Difference of Volumes of Cuboids

Instructions: In this simple exercise, you will create a program that will take two lists of...

Learn More 0 0Apr 20

Correct the mistakes of the character recognition software

Instructions: Character recognition software is widely used to digitise printed texts. Thus the texts...

Learn More 0 0Mar 18

Unique In Order

Instructions: Implement the function unique_in_order which takes as argument a sequence and returns a...

Learn More 0 0Apr 27

Categorize New Member

Instructions: The Western Suburbs Croquet Club has two categories of membership, Senior...

Learn More 0 0May 30

Opposites Attract

Instructions: Timmy & Sarah think they are in love, but around where they live, they will only...

Learn More 0 0May 27

Powers of 2

Instructions: Complete the function that takes a non-negative integer n as input, and returns a list...

Learn More 0 0Apr 19

Convert a Number to a String!

Instructions: We need a function that can transform a number (integer) into a string. What ways of...

Learn More 0 0Apr 21

Reversed Strings

Instructions: Complete the solution so that it reverses the string passed into it. 'world' => ...

Learn More 0 0Mar 19

Array.diff

Instructions: Implement a function that computes the difference between two lists. The...

Learn More 0 0May 31

Student's Final Grade

Instructions: Create a function finalGrade, which calculates the final grade of a student...

Learn More 0 2Jun 2

Two to One

Instructions: Take 2 strings s1 and s2 including only letters from a to z. Return a new sorted string...

Learn More 0 0Mar 23

Remove String Spaces

Instructions: Write a function that removes the spaces from the string, then return the resultant...

Learn More 0 0Mar 21