[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Pro/g/ramming Challenge Difficulties
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 18
Thread images: 5
File: Pro:g:ramming 3.0.png (1 MB, 3840x2160) Image search: [Google]
Pro:g:ramming 3.0.png
1 MB, 3840x2160
ITT: We give each of the challenges a difficulty level (easy, medium, difficult, and Stallman)

I'll start: Unit converter and 15-piece sliding puzzle: Easy
>>
File: Pro:g:ramming 3.0WithDifficulty.png (1 MB, 3840x2160) Image search: [Google]
Pro:g:ramming 3.0WithDifficulty.png
1 MB, 3840x2160
Updated the list a bit
>>
>>55591350
I'll go for this one.
>>
>>55591717
Done.
def f17(a, b):
return sorted(a) == sorted(b)
>>
>>55591815
Huh.... That's a lot more straightforward than what I was thinking... I'll put it as "Easy", then
>>
File: Pro:g:ramming 3.0WithDifficulty.png (1 MB, 3840x2160) Image search: [Google]
Pro:g:ramming 3.0WithDifficulty.png
1 MB, 3840x2160
Updated it!
>>
>>55590398

For the absolute hope
>>
>>55591350

I'd argue for 02 being medium, on the basis of how many pitfalls can show up in a random English text.
>>
File: Pro:g:ramming 3.0WithDifficulty.png (1 MB, 3840x2160) Image search: [Google]
Pro:g:ramming 3.0WithDifficulty.png
1 MB, 3840x2160
>>55591977
Updated, with some others changed
>>
Can we use google and shit to solve this?
>>
>>55592919
Sure! I'm not your mother.

But this thread was more to give the challenges difficulty levels
>>
>>55592988
this is a really good challenges list, I'm looking forward to seeing the finished product
>>
>>55593115
Thanks! I'm not a "great" programmer by any means, but things like these are fantastic practice, which is why I feel giving the challenges difficulty levels is a really good way of helping the part /g/ community that wants to program

It's also really useful for building up a portfolio
>>
>>55593703

Easiest shit in the world. Here's in F#

let a = Array.init 100 (fun x -> x + 1)

Array.iter (fun x ->
match x with
| _ when x % 15 = 0 -> printfn "FizzBuzz"
| _ when x % 5 = 0 -> printfn "Buzz"
| _ when x % 3 = 0 -> printfn "Fizz"
| _ -> printfn "%d" x
) a
ignore(System.Console.ReadKey())
>>
rolling 4 challenge
>>
i roll
>>
File: Pro:g:ramming 3.0WithDifficulty.png (1 MB, 3840x2160) Image search: [Google]
Pro:g:ramming 3.0WithDifficulty.png
1 MB, 3840x2160
Alright... Gonna need some help with the challenge levels... Any takers? (updated the chart, by the way)
>>
>>55594082
...Anyone?
Thread replies: 18
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.