Advertisement ยท 728 ร— 90

Posts by Codewars

Preview
Kata Practice Develop your coding skills with code challenges designed to strengthen your ability to solve coding problems. Pick up new programming techniques from your fellow software development peers.

This #BlueMonday, we're beating the blues with our 4 and 3 kyu Kata.

Train on a blue Kata today and level up your rank.

www.codewars.com/kata/search/...

1 year ago 0 0 0 0
Preview
How many Kata did you complete in 2024? 2024 was one of our busiest years yet; let's take a moment to celebrate it.

Are you looking for a new role this year? Codewars is the best place to practice your interview questions and level up your stack. Join for free at www.codewars.com

1 year ago 0 0 0 1

Incredible Hamish! We can't wait to try your Kata ๐Ÿ˜

1 year ago 1 0 0 0
JavaScript code of a function called sortByBit that takes an array as a parameter. Uses sort method to sort the number of on bits or 1's in the numbers binary representation.  code in picture :  
function sortByBit(arr) {
  return arr.sort(
    (a, b) =>
      a.toString(2).split`1`.length - b.toString(2).split`1`.length || a - b
  )
}
console.log(sortByBit([7, 6, 15, 8])) //Output: [ 8, 6, 7, 15 ]

JavaScript code of a function called sortByBit that takes an array as a parameter. Uses sort method to sort the number of on bits or 1's in the numbers binary representation. code in picture : function sortByBit(arr) { return arr.sort( (a, b) => a.toString(2).split`1`.length - b.toString(2).split`1`.length || a - b ) } console.log(sortByBit([7, 6, 15, 8])) //Output: [ 8, 6, 7, 15 ]

Completed a fun 6kyu Codewars challenge where you have to sort an array of 32-bit integers in ascending order of the number of on bits they have.

1 year ago 4 1 0 0

When all your tests pass ๐Ÿ˜

1 year ago 1 0 0 0
Preview
How many Kata did you complete in 2024? 2024 was one of our busiest years yet; let's take a moment to celebrate it.

How many coding challenges did you complete last year? This is how many our community did ๐Ÿ‘‡

www.codewars.com/post/how-man...

1 year ago 0 0 0 0

If you're looking for some art today, we've been enjoying this Creative Coding feed. bsky.app/profile/chrs...

1 year ago 0 0 0 0

The suspense is real

1 year ago 1 0 0 0
Advertisement

We need a new desk setup; what are your favorite remote setups right now?

1 year ago 2 1 1 0

Incredible, Ryan! We can't wait to try your translations

1 year ago 1 0 0 0

What technology are you planning to learn this year?

1 year ago 0 0 0 0
Post image

Kick your 2025 goals off in style with our biggest sale ever! Get 60% off all annual and bi-annual Codewars Red plans between January 2 - 5 with the discount code 25GOALS on checkout.

Sign up today: bit.ly/4i7S8J1

1 year ago 0 0 0 0

Admin needs your flu remedies ๐Ÿ˜ช we will pay you back in Kata recommendations

1 year ago 0 0 0 0

We are aware of significant load time delays and server errors across Codewars at present. We are investigating this issue and hope to resolve this as soon as possible.

1 year ago 1 0 0 0
Preview
Let's build a ... festive collection together No matter what festivities you celebrate this season, you should be able to celebrate it on Codewars.

๐ŸŽ We're getting into the festive spirit here at Codewars, and no matter what you celebrate at the end of the year, you should be able to celebrate on Codewars.

To help us do this, we need your help to build the ultimate festive collection!

bit.ly/41rc43J

1 year ago 1 0 0 0
Preview
Shopping Calculation This kata is about shopping calculation. There are products, product's prices, customers and customer's total money. This kata takes an input as List of string, and this list contains statements ...

Track your present shopping with this week's #KataOfTheWeek. We'll be watching for gift inspiration ๐Ÿ‘€

bit.ly/4f957rd

1 year ago 0 0 0 0
Preview
Codewars Red A coding practice website for all programming levels โ€“ Join a community of over 3 million developers and improve your coding skills in over 55 programming languages!

This holiday season, we encourage you to invest in yourself. To help you do so, we're offering 50% off all annual subscriptions to Codewars Red from now until December 15.

All you need to do is use code UPSKILLNOW at checkout. bit.ly/4i7S8J1

1 year ago 2 0 0 0

What programming skills are you practicing today?

1 year ago 0 0 0 0
Advertisement

Bluesky is showing us a lot of space photos today, and we love it! here's some space for you too.

1 year ago 0 0 0 0

We're looking forward to it ๐Ÿฅฐ

1 year ago 2 0 0 0
Preview
A Needle in the Haystack Can you find the needle in the haystack? Write a function findNeedle() that takes an array full of junk but containing one "needle" After your function finds the needle it should return a messa...

It's time for our #KatOfTheWeek! And we've lost a needle... in a haystack ๐Ÿ˜ฒ

Can you find it for us? bit.ly/3ZmYZqx

1 year ago 2 0 0 0

We're back!

Thank you all for your patience during this unexpected downtime today. We're sorry for the inconvenience this outage caused.

If you have any further issues with Codewars, please contact us at info@codewars.com.

1 year ago 1 0 0 0

Oh amazing, Trey! Where do you stream? We'd love to watch

1 year ago 2 0 1 0
Codewars Status Welcome to Codewars's home for real-time and historical data on system performance.

โš ๏ธ Service update: We are currently investigating an unusual number of timeouts affecting Codewars. We apologize for any inconvenience and hope to be operational soon.

For further details, please read our status page: bit.ly/3VbsIjR

1 year ago 0 0 0 0
Preview
Draw a street Task: Given an array of tuples (int, int) indicating one or more buildings height and width, draw them consecutively one after another as in a street. For example, given the input of [(5,9), (7...

On Tuesday, we encourage our followers to take a break and try a new coding challenge.

This week, we challenge you to draw a street in a new city or your favorite city with this fun 6 kyu Kata by hibrahimag1.

๐ŸŽจ ๐Ÿ–‹๏ธ bit.ly/3VlodUb

1 year ago 0 0 0 0
Advertisement

Happy Monday, what are you working on this week?

1 year ago 0 0 0 0

Hello new followers ๐Ÿ‘‹ How are you doing?

1 year ago 0 0 0 0
Preview
Keep Hydrated! Nathan loves cycling. Because Nathan knows it is important to stay hydrated, he drinks 0.5 litres of water per hour of cycling. You get given the time in hours and you need to return the number...

As many of us move to new social platforms, don't forget to stay hydrated.

This Kata might even serve as a reminder ๐Ÿ˜‰ www.codewars.com/kata/582cb02...

1 year ago 1 0 0 0

We're in need of some funny tech memes today, send them our way ๐Ÿฅบ

1 year ago 0 0 0 0
Stripe Checkout

We've added some new Codewars stickers to our site to celebrate more people joining Bluesky.

Get yours for just $1.50 this week with code THESKYISBLUE on checkout ๐Ÿ’ต

buy.stripe.com/eVa02d9Xlc9O...

1 year ago 0 0 0 0