Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
yeah, I'm also like that
Are you suggesting that 0 is smaller than -700?
It's very strange that your solution works in your VS Code. Looking at it, it should not pass. What does your solution return for input array
[1]
? What is the correct answer for such input?This comment is hidden because it contains spoiler information about the solution
It's a very strange kata. My solution works, I checked in VS code
I'd recommend jumping on "Python Institute" and giving their free course a shot. Outside of this, pull up your languages documentation and find a way to solve the Codewars puzzle.
there's a major difference between being a novice and not knowing even the most basic syntax of any programming language. this website is not necessarily for learning "hello world", even the simplest kata requires working knowledge of programming fundamentals and the syntax of whatever language you're working with. you can try to teach yourself all of this by staring at code you don't understand for hours, or (what you should do), watch youtube videos or read online guides to get a feel for programming in your preferred language (probably Python) first.
FYI i've been programming for years and i still consider myself very much a novice. it will probably take you a VERY long time and a significant amount of effort before you find solving problems easy.
This is actually not a very good solution(
For the problem of finding the minimum element in this solution, you additionally need to sort the array
In case the length of the array -> to infinity, sorting it will take several orders of magnitude longer than just finding the minimum
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Read this: https://docs.codewars.com/training/troubleshooting#expected-the-same
Not a kata issue.
Yes, after adding
using System.Linq;
it works for me
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This was a fun kata. I knew there was likely going to be a preexisting function out there that could reduce my code to just calling the function and giving it the "args" array as its argument, but I wanted to try to use lower level coding for this challenge. A for loop did the job well. Not the most efficient, especially when compared to some of the code examples posted by skilled folks on here, but I'm happy with my results:)
Loading more items...