6 kyu
Backspaces in string
105 of 19,160vetalpaprotsky
Description:
Assume "#"
is like a backspace in string. This means that string "a#bc#d"
actually is "bd"
Your task is to process a string with "#"
symbols.
Examples
"abc#d##c" ==> "ac"
"abc##d######" ==> ""
"#######" ==> ""
"" ==> ""
Fundamentals
Strings
Algorithms
Similar Kata:
Stats:
Created | May 2, 2016 |
Published | May 2, 2016 |
Warriors Trained | 33142 |
Total Skips | 3179 |
Total Code Submissions | 76749 |
Total Times Completed | 19160 |
Ruby Completions | 625 |
JavaScript Completions | 6347 |
Haskell Completions | 246 |
C# Completions | 1189 |
Elm Completions | 105 |
Python Completions | 5194 |
C++ Completions | 1440 |
Scala Completions | 196 |
Julia Completions | 57 |
Elixir Completions | 104 |
TypeScript Completions | 1142 |
Java Completions | 1941 |
C Completions | 494 |
NASM Completions | 27 |
Idris Completions | 36 |
Nim Completions | 23 |
Rust Completions | 439 |
Clojure Completions | 64 |
Factor Completions | 10 |
BF Completions | 24 |
Go Completions | 220 |
Total Stars | 451 |
% of votes with a positive feedback rating | 94% of 2243 |
Total "Very Satisfied" Votes | 1984 |
Total "Somewhat Satisfied" Votes | 227 |
Total "Not Satisfied" Votes | 32 |
Total Rank Assessments | 19 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |