title: Decode Median String Original String
signature: pub fn decode_median_string_original_string(s: String) -> String {
test_code: use std::collections::HashMap;
  use std::collections::HashSet;
  use std::cmp::*;
  use std::collections::*;
  use std::fmt::*; 
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  pub fn validate_solution(actual: String, expected: String)->bool{
  return actual==expected
  }
  pub fn driver(s: String, expected: String)->String{
      if validate_solution(PLACEHOLDER_FN_NAME(s), expected) {
        return "PASSED".to_string();
      };
      return "FAILED".to_string();
  
  }
  
  fn main() {
      println!("TEST-0...{}", driver(
        " EgvQCeqYpZtv".to_string(), 
        "tpqCvE gQeYZv".to_string()
      ));
      
      println!("TEST-1...{}", driver(
        "488540".to_string(), 
        "484850".to_string()
      ));
      
      println!("TEST-2...{}", driver(
        "0000101010111".to_string(), 
        "1000000011111".to_string()
      ));
      
      println!("TEST-3...{}", driver(
        "syw".to_string(), 
        "ysw".to_string()
      ));
      
      println!("TEST-4...{}", driver(
        "402355".to_string(), 
        "524035".to_string()
      ));
      
      println!("TEST-5...{}", driver(
        "0".to_string(), 
        "0".to_string()
      ));
      
      println!("TEST-6...{}", driver(
        "wmHMlAtq".to_string(), 
        "tlHwmMAq".to_string()
      ));
      
      println!("TEST-7...{}", driver(
        "7962".to_string(), 
        "6792".to_string()
      ));
      
      println!("TEST-8...{}", driver(
        "111111".to_string(), 
        "111111".to_string()
      ));
      
      println!("TEST-9...{}", driver(
        "UbgRGDquop".to_string(), 
        "oqGgUbRDup".to_string()
      ));
      
  }
source_py: def decode_median_string_original_string(s):
      l = len(s)
      s1 = ''
      if ((l % 2) == 0):
          isEven = True
      else:
          isEven = False
      for i in range(0, l, 2):
          if isEven:
              s1 = (s[i] + s1)
              s1 += s[(i + 1)]
          elif ((l - i) > 1):
              s1 += s[i]
              s1 = (s[(i + 1)] + s1)
          else:
              s1 += s[i]
      return s1
source_cpp: string decode_median_string_original_string(string s) {
    int l = s . length ( );
    string s1 = "";
    bool isEven = ( l % 2 == 0 ) ? true : false;
    for ( int i = 0;
    i < l;
    i += 2 ) {
      if ( isEven ) {
        s1 = s [ i ] + s1;
        s1 += s [ i + 1 ];
      }
      else {
        if ( l - i > 1 ) {
          s1 += s [ i ];
          s1 = s [ i + 1 ] + s1;
        }
        else {
          s1 += s [ i ];
        }
      }
    }
    return s1;
  }