File tree Expand file tree Collapse file tree 6 files changed +5
-5
lines changed
Expand file tree Collapse file tree 6 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# Codewars Handbook ☕️🚀
22
33[ ![ Views statistics +1 👀] ( https://img.shields.io/badge/dynamic/xml?color=success&label=views&query=//*[name()=%27text%27][3]&url=https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FParanoidUser%2Fcodewars-handbook )] ( https://hits.seeyoufarm.com/api/count/graph/dailyhits.svg?url=https://github.com/ParanoidUser/codewars-handbook )
4- [ ![ Completed kata 👌] ( https://img.shields.io/badge/completed%20kata-68.6 %25-red.svg )] ( https://www.codewars.com/kata/search/java?xids=completed )
4+ [ ![ Completed kata 👌] ( https://img.shields.io/badge/completed%20kata-68.5 %25-red.svg )] ( https://www.codewars.com/kata/search/java?xids=completed )
55[ ![ CI pipeline 🛠] ( https://img.shields.io/github/actions/workflow/status/ParanoidUser/codewars-handbook/build.yml?branch=main )] ( https://github.com/ParanoidUser/codewars-handbook/actions/workflows/build.yml )
66[ ![ Quality gate 🔎] ( https://img.shields.io/sonar/alert_status/codewars-handbook?server=https%3A%2F%2Fsonarcloud.io )] ( https://sonarcloud.io/dashboard?id=codewars-handbook )
77[ ![ Let's have a chat! 📞] ( https://img.shields.io/gitter/room/ParanoidUser/codewars-handbook?color=49c39e )] ( https://gitter.im/ParanoidUser/codewars-handbook )
Original file line number Diff line number Diff line change 1- # [ extract file name] ( https://www.codewars.com/kata/extract-file-name " https://www.codewars.com/kata/597770e98b4b340e5b000071 ")
1+ # [ extract portion of file name] ( https://www.codewars.com/kata/extract-portion-of -file-name " https://www.codewars.com/kata/597770e98b4b340e5b000071 ")
22
33You have to extract a portion of the file name as follows:
44 - Assume it will start with date represented as long number
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ interface FileNameExtractor {
22 static String extractFileName (String dirtyFileName ) {
33 return dirtyFileName .substring (dirtyFileName .indexOf ('_' ) + 1 , dirtyFileName .lastIndexOf ('.' ));
44 }
5- }
5+ }
File renamed without changes.
Original file line number Diff line number Diff line change 128128- [ Everybody hates Mondays] ( everybody-hates-mondays )
129129- [ Evil Autocorrect Prank] ( evil-autocorrect-prank )
130130- [ Experimenting with a sequence of complex numbers] ( experimenting-with-a-sequence-of-complex-numbers )
131- - [ Extract file name] ( extract-file-name )
131+ - [ Extract portion of file name] ( extract-portion-of -file-name )
132132# F
133133- [ Factors of triangle numbers] ( factors-of-triangle-numbers )
134134- [ Fat Fingers] ( fat-fingers )
Original file line number Diff line number Diff line change 383383- [ Prison Break] ( prison-break-1 )
384384- [ Product Array (Array Series #5 )] ( product-array-array-series-number-5 )
385385- [ Product Of Maximums Of Array (Array Series #2 )] ( product-of-maximums-of-array-array-series-number-2 )
386- - [ Product of the main diagonal of a square matrix. ] ( product-of-the-main-diagonal-of-a-square-matrix )
386+ - [ Product of the main diagonal of a square matrix] ( product-of-the-main-diagonal-of-a-square-matrix )
387387# Q
388388- [ Quicksum] ( quicksum )
389389# R
You can’t perform that action at this time.
0 commit comments