Ad
  • Custom User Avatar

    It was half-swapped, but fixed it.

  • Custom User Avatar

    ohh thanks it does turn green but it never displays a submit button. but my kata point are accumulating

  • Custom User Avatar

    JavaScript should use chai for assertions. Fixed here

  • Custom User Avatar

    Press the "Attempt" button in the bottom right, if you clear all tests, the button will turn into a green "Submit" button.

  • Custom User Avatar

    please how do i submit guys? is it automatic

  • Default User Avatar

    did you see that in the initial code ?

    src is the input string; your solution should write the result into dst and return it

    Do not allocate your own memory, use dst. Make sure to have a look at the initial code before you start programming on Codewars, it often contains useful information. Also ask questions instead of raising issues.

    PS: Make sure to use markdown formatting to paste code so that it is easier to read ;-)

  • Default User Avatar

    Here is my test results:

    Test Results:
    basic_tests
    should_pass_all_the_tests_provided
    remove_char should return dst
    Completed in 0.3737ms
    Completed in 0.3737ms
    random_tests
    should_pass_all_the_tests_provided
    !=
    {6\Pavw[:mO4=ZvMD^bvU;e'Rrs^4LJ1_$^A{S|3AIG["<)Czi:N%!UTpI0%u[6S\qtUEofc9.@8GF@-vn2tAgejwk]P1+q$4pGx'S6@wY|5gp!vfB[L*Q5h"5v*$wh5h-+p]A.Vx+hxjW_-4*8b<}aNqlRjUePbpA>3Lt)T]iNE>.SO5h2Rct!UaQ@47ns(028]$A2_(]%GiUs;'NxMUWrk3a\8olQJmoYJu8P:"#.}?2M;+zpbvaKC&B0rpZ]^2)TJVkIYyGu-q25l xaAj&G+37xnuW!{)HRtq,l6 v)2,r2"QtD9whD+};vpotly=?k,HU@HLFWV6jXg\y"TcC\a^QROF<Fa[/j!e+J/Q~eei?MC9OtysRXO$({GDB)|Oq~5|FALE(2-D_PZ-FU}u.Jv7G>XiEV97UK1xm]>rlH7JyqW=DR3P|*dDE=,jsB"Fn4?Yn[I\$'zO[8t.HB(R'MxDV6xc\dty>cRg=SEDOu|dg+.*4]1^VR58h.xCsm:/Nltl@7.l*,Rq4]xE;'!oW6%@Bz3ez?4d1}#IoS6?CG|9j6Ak#x#(6B#wUhoqyR$xUM#B}6bAZ[E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O"I7Lq*?v-&eF[wJu"e/i r'Q=sahE.jkE4ZPuyD !(CY mL"P\lNOp|id[R'i>s0RK]EF"EDi}(TK#%sNQdK;G(mNn)?YkY/YBS)NhZvs]xd)JGRbkWN7FWWC1@|.OVP 8YK!4Cqo<Tud{HGd r{GKPgYpdg=<5:QnfR!*BmCvc(o*MT'@PNh"3@ox(.2>Hc*,3(6UuWIW_9a*jhH<5.;HN(>W3PrY4|eH#yzxQEM.^,9Ju^c(l{M9$lm5=nOZTwZNrT 8~/t,E<! 'jxQ$y>q/YO})(S!bp4 '4,{=N8<O5C:+t<%1+5jX3s]cq=cbRfclb};w:g*Z"5L;;]GME 9]E(z&kJfO+S3)k(CS0zREHn]&3+L3ibm,kh2T1x$9I4C5=ceJ_8o($K+7SWG=85I${[UQVCzkf0&HrP()=--e8B:mfT&|~'uW\ '3@"{(0"M#OU,jb7PzVjh=@k:<r-pLw]KwYP(Y}(&S5p3IB+ *t=G]UcQbR}jJ[6?3fGidPo5baH)!S)+ECS$x4RYfPA/WN:;s$ Ap2!RZS+3\NS-RJA%!&RB5Yyp5Qt2rfDs6{zg$+AR_N"*o$+uWM(.Df V8qh)U*yl&uQ*}rZ]A\d.al"67*A[mA2$1w*f"$P%v"0uqgP3D6?# A68HXp7v!;(xElxF=}>=+1,r^=5t\8r}O+F%x]{yu"p8ni_)dzCp)PgmuZJ/MH[UkNJYI=[7VG}3Qb.qP4B2{-(VW4!|lViJ&1%LK``")^2W>=IoQl~Kv$"O6!I#W0NZ>S$j1ai7@|n\76Li H5vL4F_5mcjz/B:_D"p&k&Get!}+Md+ry#<+F|>1)-lHDLlF:s/@8r39m;cRDSIGoQjloyJu'7? ...

  • Default User Avatar
  • Default User Avatar
  • Custom User Avatar

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