• Sign Up
  • Kata
  • Kumite
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:Hong Kong
Skills:java, javascript, sql
Member Since:Oct 2016
Last Seen:Dec 2020
Profiles:
    Following:20
    Followers:27
    Allies:20
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies
    • Authored (27)
    • Needs Resolution
      • lodimob
      • commented on "Area of a Square" kata

      There is no point to return a double with less precision.

      • lodimob
      • commented on "Consecutive letters" kata

      In the example has solve("v") = True but not tested in Java Test Cases.

      • lodimob
      • commented on "Find heroes" kata

      This comment is hidden because it contains spoiler information about the solution

      • lodimob
      • commented on "Survive The Seven Kingdoms" kata

      Also why The Wall blocks your way has no full stop but You do not have a ship to cross this sea.

      • lodimob
      • commented on "23 Matches. Or more..." kata

      Very similar to Don't Eat the Last Cake!
      https://www.codewars.com/kata/dont-eat-the-last-cake

      • lodimob
      • created an issue for "Airplane Alert System" kata

      Nice Kata.

      • Somewhere in description Storm is spelled wrongly as Strom.
      • Need random tests. See https://github.com/Codewars/codewars.com/wiki/Codewars-JavaScript-Test-Framework#utilities
      • You swapped the arguments in Test.assertEquals(actual, expected[, msg]).
      • In Headlines format, a whitespace is required between # and the text.
      • lodimob
      • commented on "What will be the day of the week in a year?" kata

      Also, add a for-loop to test it maybe 1000 times at least.

      • lodimob
      • created a suggestion for "What will be the day of the week in a year?" kata

      This comment is hidden because it contains spoiler information about the solution

      • lodimob
      • commented on "Proteinogenic amino acids" kata

      This comment is hidden because it contains spoiler information about the solution

      • lodimob
      • commented on "Proteinogenic amino acids" kata

      I mean the 22 AminoAcids.

      • lodimob
      • commented on "Proteinogenic amino acids" kata

      The pitfall of HashMap is about hash code collision and rehash right?
      Such collision will cause extra LinkedList-style traversal.

      • lodimob
      • commented on "Proteinogenic amino acids" kata

      I made a HashMap<Protein, Set<proteinId>>. Failed at test_4_500000. Any clue?

      • lodimob
      • commented on "Is n divisible by x and y?" java solution

      You're right

      • lodimob
      • resolved a question on "Fake website #5: Design an accurate user level calculation function" kata

      Thx for the reply

      • lodimob
      • created a question for "Fake website #5: Design an accurate user level calculation function" kata
      Test.assertSimilar(
      calcLevel({js:0,ruby:0,java:0},['js 7kyu']), 
      "Total level: 8kyu 1%, JS level: 8kyu 4%, Ruby level: 8kyu 0%, Java level: 8kyu 0%");
      

      After solving the Kata, JS will be 5 points right? (level difference * 2 + 3 points)
      So the percentage of JS will be 5 / 91 = 5.49%
      But why the expected value is 4%?

    • Loading more items...
    • © 2021 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Contact
    • powered by

    Confirm

    • Cancel
    • Confirm