Este repositorio contiene mis soluciones a los ejercicios disponibles en CodeWars para los lenguajes de Java, Python y JavaScript.
CodeWars es una plataforma en línea que ofrece ejercicios para mejorar las habilidades de programación. Cada ejercicio tiene una descripción y un conjunto de pruebas automatizadas que deben pasar para considerarse completado. Después de completar un ejercicio, se puede enviar para recibir comentarios y sugerencias de otros programadores en la comunidad.
Cada lenguaje tiene su propia carpeta en el repositorio. Dentro de cada carpeta, hay una subcarpeta de acuerdo al nivel de dificultad del ejercicio. Dentro de cada subcarpeta, se encuentra el archivo de código correspondiente, así como cualquier archivo de prueba o archivo de datos necesarios para completar el ejercicio.
Java
- Quadrants
- Quarter of the year
- A wolf in sheep's clothing
- Total amount of points
- Pillars
- Twice as old
- Sum of differences in array
- If you can't sleep, just count sheep!!
- Area or Perimeter
- Cat years, Dog years
- Reversed sequence
- The Feast of Many Beasts
- Multiplication table for number
- Return the day
- Century From Year
- Simple multiplication
- Sort My Textbooks
- Invert values
- Will there be enough space?
- Is he gonna survive?
- Switch it Up!
- Find the position!
- Will you make it?
- Array plus array
- All Star Code Challenge
- Traffic light
- Reduce but Grow
- Sum Mixed Array
- Remove String Spaces
- Convert a string to an array
- Calculate average
- String repeat
- Make UpperCase
- Lost Without a Map
- Fake Binary
- Abbreviate a Two Word Name
- Find Maximum and Minimum Values of a List
- Sum of positive
- Remove exclamation marks
- You only need one
- Basic Mathematical Operations
- No zeros for heros
- Opposite number
- Double Char
- Count the Monkeys!
- Remove First and Last Character
- Sum without highest and lowest number
- Count of positives / sum of negatives
- Did she say hallo?
- Grasshopper - Messi goals function
- How good are you really?
- Filtering even numbers (Bug Fixes)
- Grasshopper - Summation
- Grasshopper - Basic Function Fixer
- Grasshopper - Messi Goals
- Grasshopper - Debug sayHello
- Third Angle of a Triangle
- Pythagorean Triple
- Grasshopper - Grade book
- Alternating Case
- Classic Hello World
- Reversed Strings
- Convert a Number to a String
- Convert a String to a Number
- Grasshopper - Personalized Message
- Returning Strings
- Vowel remover
- Welcome to the City
- Are You Playing Banjo?
- Well of Ideas - Easy Version
- The Wide-Mouthed frog!
- Sort and Star
- Correct the mistakes of the character recognition software
- Convert a Boolean to a String
- Sentence Smash
- DNA to RNA Conversion
- A Strange Trip to the Market
- Remove the time
- Grasshopper - Array Mean
- Square(n) Sum
- Lario and Muigi Pipe Problem
- Duck Duck Goose
- Removing Elements
- Volume of a Cuboid
- Surface Area and Volume of a Box
- The Ternary Operator
- This is a problem
- if..else and ternary operator
- Blue and red marbles
- Area of a Square
- Squash the bugs, not the dogs!
- A + B
- Multiply
- Swap Values
- How do I compare numbers?
- is it a digit?
- Simple validation of a username with regex
- Even or Odd
- Keep Hydrated!
- Check for factor
- Duty Free
- Powers of 2
- Is your period late?
- Object Oriented Piracy
- Color Ghost
- Basic subclasses - Adam and Eve
- Playing with cubes I
- HQ9+
- Difference of Volumes of Cuboids
- Replace all vowel to exclamation mark in the sentence
- Is it even?
- Calculate BMI
- Leonardo Dicaprio and Oscars
- Return Negative
- School Paperwork
- Cockroach
- Formatting decimal places
- Parse nice int from char problem
- Sum of Multiples
- Rock Paper Scissors!
- Hello World
- Squaring an argument
- Sleigh Authentication
- Kata Example Twist
- Convert boolean values to strings Yes or No
- Sum Arrays
- You Can't Code Under Pressure
- Take the First N Elements
- True for All
- Plural
- Opposites Attract
- Counting sheep
- Convert number to reversed array of digits
- Find the smallest integer in the array
- get character from ASCII Value
- What is between?
- Merging sorted integer arrays (without duplicates)
- Count by X
- Terminal game move function
- Welcome
- Printing Array elements with Comma delimiters
- Remove n exclamation marks in the sentence from left to right
- Multiple of index
- Set Alarm
- A Needle in the Haystack
- Exclusive "or" (xor) Logical Operator
- Find the first non-consecutive number
- Clock
- Fuel Calculator: Total Cost
- String Templates
- Reversed Words
- Keep up the hoop
- Tip Calculator
- Is it a number?
- Stringy Strings
- I love you, a little , a lot, passionately ... not at all
- Get the mean of an array
- My head is at the wrong end!
- Unfinished Loop
- Jenny's secret message
- Push a hash/an object into array
- Basic variable assignment
- Do I get a bonus?
- Is n divisible by x and y?
- Unexpected parsing
- Count Odd Numbers below n
- Get Nth Even Number
- Static electrickery
- Replace all dots
- Ghost code
- How many stairs will Suzuki climb in 20 years?
- Debug Celsius Converter
- Triple Trouble
- Miles per gallon to kilometers per liter
- To square(root) or not to square(root)
- Find numbers which are divisible by given number
- Index of an element in an array
- Easy logs
- Bin to Decimal
- Hex to Decimal
- Convert to Binary
- Smallest unused ID
- Wilson primes
- Counting Characters
- Name on billboard
- Age Range Compatibility Equation
- Find Multiples of a Number
- Find the Integral
- Find the Slope
- Transportation on vacation
- Circles in Polygons
- Compare within margin
- How old will I be in 2099?
- Determine offspring sex based on genes XX and XY chromosomes
- Localize The Barycenter of a Triangle
- Never visit a
- Points of Reflection
- Collatz Conjecture
- Find Nearest square number
- Get Planet Name By ID
- Shark Pontoon
- Gravity Flip
- Up and down, the string grows
- Dot Calculator
- Last
- Fun with lists: length
- Unlucky Days
- Leap Years
- Age in days
- Sum of odd numbers
- Sort arrays
- Sort the Gift Code
- Without the letter E
- Get the Middle Character
- Ch4113ng3
- Remove duplicate words
- Find the index of the second occurrence of a letter in a string
- Simple remove duplicates
- Sorted? yes? no? how?
- Odd-Even String Sort
- How many arguments
- Length and two values
- Null
- Last Survivor
- Double value every next call
- Four/Seven
- Max-min arrays
- Is It Negative Zero
- Plus - minus - plus - plus - ... - Count
- Simple letter removal
- Simple string reversal
- Predict your age
- Remove consecutive duplicate words
- Fix string case
- Single digit
- Responsible Drinking
- FIXME: 1, 2, 3, 4
- Alternate capitalization
- Most digits
- Count consonants
- Covfefe
- String Merge!
- Eliminate the intruders! Bit manipulation
- Reverse the bits in an integer
- Delta Bits
- is it a eight bit signed number?
- Lombok Encapsulation
- Consecutive letters
- Check three and two
- Form The Minimum
- Sorting the Odd way!
- Inspiring Strings
- Disagreeable ascii
- Filter the number
- Switcheroo
- Split In Parts
- Greet Me
- Vowel Count
- Highest and Lowest
- Alphabet war
- Insert dashes
- Reverse words
- Caffeine Script
- Keypad horror
- makeBackronym
- Character Counter
- String ends with?
- Shorter concat [reverse longer]
- Scrabble Score
- Shift Left
- Build a square
- Simple string characters
- Pizza Payments
- Indexed capitalization
- Survive the attack
- Alphabetical Sequence
- Hide password from jdbc url
- Sum of numbers from 0 to N
- FIXME: Get Full Name
- Odd or Even?
- Word values
- Cat Years, Dog Years (2)
- Incrementer
- Sum of Cubes
- FIXME: Hours to Seconds
- Reverse Letter
- Difference between years
- Shortest Word
- Simple beads count
- Tidy Number
- Special Number
- Mean vs. Median
- Number of Decimal Digits
- Debug Sum of Digits of a Number
- FIXME: Let's split this joint
- Digits explosion
- Two numbers are positive
- Anagram Detection
- Remove all exclamation marks from the end of words
- Move all exclamation marks to the end of the sentence
- Simple eviternity numbers
- Factorial
- Find min and max
- Describe a list
- Alternate case
- Sum a list but ignore any duplicates
- Fibonacci
- Vaporcode
- The Office I - Outed
- Rock Paper Scissors Lizard Spock
- Ordered Count of Characters
- What a "Classy" Song
- Building Blocks
- Spacify
- ToLeetSpeak
- Small enough? - Beginner
- WASD Movement
- Regexp Basics - is it a letter?
- Regexp Basics - is it a vowel?
- Heron's formula
- Bumps in the Road
- Interactive Dictionary
- Paul's Misery
- Selective fear of numbers
- What is the flag?
- Math.pow?
- Printer Errors
- Lucky number
- Square Every Digit
- Basic Calculator
- Regex validate PIN code
- List Filtering
- Complete The Pattern #1
- Complete The Pattern #2
- Number-Star ladder
- Lost number in number sequence
- Where is THB?
- Changing letters
- Lunar Mathematics: Addition
- Row Weights
- Disarium Number
- Sum of Two Integers
- Move 10
- Regexp basics - parsing prices
- Formatting decimal places #1
- Maximum Length Difference
- Two to One
- Calculate mean and concatenate string
- Zebulans Nightmare
- Quicksum
- Valid Spacing
- ANTISTRING
- Suitcase packing
- Unique string characters
- Stanton measure
- Possibilities Array
- How long should you cook this for?
- Decimal decomposition
- How long should you cook this for?
- Beginner Series #3 Sum of Numbers
- Basics - Generators #1
- Multiplication - Generators #2
- Automorphic Number
- Jumping Number
- Folding your way to the moon
- Converting from base 10 to 16
- Growth of a Population
- Very Even Numbers
- Large sum
- Disemvowel Trolls
- Alternate Square Sum
- Descending Order
- Exes and Ohs
- Isograms
- Factorial
- Overflowing with joy
- Name Array Capping
- Chinese Zodiac
- Is this a triangle?
- Jaden Casing Strings
- Largest Elements
- Batman Quotes
- You're a square!
- Return the first M multiples of N
- Reverse a Number
- max diff - easy
- Area of a Circle
- Functional Addition
- Power of two
- Powers of i
- Smallest value of an array
- Money, Money, Money
- Arithmetic progression
- Arithmetic Sequence!
- C.Wars
- Double Every Other
- Is n divisible by
- Help the Fruit Guy
- Complete The Pattern #4
- Compound Array
- Pandemia
- Partial Word Searching
- Santa's Naughty List
- Scoring Tests
- Complementary DNA
- Convert Time to String
- Sum of the first nth term of Series
- Testing 1-2-3
- From A to Z
- GCD sum
- Speed Limit
- Simple string reversal II
- Excel sheet column numbers
- Computer problem series #1: Fill the Hard Disk Drive
- Supernatural
- You Can't Code Under Pressure #2
- Count the divisors of a number
- The alphabet product
- Swapping Cards
- Basic Sequence Practice
- Broken sequence
- Prison Break
- Where's Wally
- String interlacing
- Compare Strings by Sum of Chars
- Cryptanalysis Word Patterns
- Herding cats
- Trigrams
- Regexp Basics - is it a hexadecimal number?
- The highest profit wins
- Longest vowel chain
- Ordering the words
- Password maker
- Find Screen Size
- Monty Hall Problem
- Recursion 101
- Binary Addition
- Mumbling
- Binary scORe
- How many urinals are free?
- Fusion Chamber Shutdown
- Nickname Generator
- Mystery Colors
- Bulls and Cows
- Harvest Festival
- How many consecutive numbers are needed?
- Largest pair sum in array
- Integer Primitive Data Types
- Previous multiple of three
- Round up to the next multiple of 5
- Happy Birthday, Darling!
- Most valuable character
- See You Next Happy Year
- Java Functional Programming (Part 1: The Beginning)
- Java Functional Programming (Part 2: Multiline Functions)
- Java Functional Programming (Part 3: Closured for Business)
- Sum of Digits / Digital Root
- Multiplication table
- Break camelCase
- Highest Scoring Word
- Your order, please
- Count the number of days between two dates
- A + B == 123
- Consonant value
- Change case
- Round and Round
- Password Maker
- Determine the date by the day number
- Sum the nums, sum the sums and sum the nums up to that sum
- Count characters in your string
- Counting Duplicates
- Interval
- Basic Compression
- Who likes it?
- Fat Fingers
- Ascend, Descend, Repeat?
- Meeting
- More Zeros than Ones
- My friend time
- Phone Screen Organizer
- Simple reversed parenthesis
- What's A Name In?
- Count the days!
- Minutes to Midnight
- How many working days
8 kyu
7 kyu
6 kyu
Siéntete libre de revisar mis soluciones y hacer sugerencias para mejoras. También puedes enviar tus propias soluciones a los ejercicios que aún no he completado. Solo asegúrate de seguir las pautas de contribución de Exercism y de incluir los archivos de prueba necesarios para que tu solución sea evaluada.
Si tienes alguna pregunta o comentario sobre este repositorio, no dudes en contactarme a través de mi perfil de Github. ¡Gracias por tu interés!
Este repositorio utiliza la licencia MIT. Consulte el archivo LICENSE para obtener más información.