Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@
* SQL

1. In any language of your choice, write a utility that will translate a hexadecimal string to base64. Here's a test: this string `45766964696e74` should be converted into this string `RXZpZGludA==`.
1. Download this [simple Python script](https://github.com/SignalPath/CodeTests/blob/master/specialMath.py). When you run it from the command line, it takes one parameter. So `$> python specialMath.py 7` will produce `79`. Also, `$> python specialMath.py 17` will produce `10926`. This question has two parts: first, convert it to Scala; second, have the script calculate `$> specialMath 90`.
1. Download this [simple Python script](https://github.com/SignalPath/CodeTests/blob/master/specialMath.py). When you run it from the command line, it takes one parameter. So `$> python specialMath.py 7` will produce `79`. Also, `$> python specialMath.py 17` will produce `10926`.
This question has two parts:
1. Convert it to Scala
1. Have the script calculate `$> specialMath 90`.

Provide both as part of your solution.