This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Description | |
Write a method to replace all spaces in a string with %20. You may assume that the string has sufficient space at the end of the string to hold the additional characters, and that you are given the true length of the string. (Note: If implementing in Java, please use a character array so that you can perform this operation in place.) | |
##Git Branch | |
https://github.com/loliplus/MOMOKO_KAWAII/tree/Question_01_04 | |
##Test Cases | |
| Test Case Input | Expected Output | | |
|----------------------------------------------- |----------------- | | |
| "Mr John Smith " | "Mr%20John%20Smith" | | |
| "A " | "A" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="CPP_MODULE" version="4"> | |
<component name="NewModuleRootManager"> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/main.cpp" isTestSource="false" /> | |
<sourceFolder url="file://$MODULE_DIR$/CMakeLists.txt" isTestSource="false" /> | |
</content> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
<orderEntry type="module-library"> | |
<library name="Header Search Paths"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="CPP_MODULE" version="4"> | |
<component name="NewModuleRootManager"> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/main.cpp" isTestSource="false" /> | |
<sourceFolder url="file://$MODULE_DIR$/CMakeLists.txt" isTestSource="false" /> | |
</content> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
<orderEntry type="module-library"> | |
<library name="Header Search Paths"> |