8000 GitHub - scaperoth/de-hours-with-experts: Data Engineering Hours With Experts Coding Challenge
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

scaperoth/de-hours-with-experts

Folders and files

< 8000 thead class="DirectoryContent-module__OverviewHeaderRow--W8yGl Table-module__Box_1--JrPYF">
NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

de-hours-with-experts

Data Engineering Hours With Experts Coding Challenge!

See Java, Scala or Python folders for answers in each language.

Problem

For a given number, return the next largest number that can be created by rearranging that number's digits.

If no larger number can be created, return -1

Example inputs/outputs are shown below:

Input Output
12 21
21 -1
12345678 12345687
34535762 34536257
45590051 45590105
987654321 -1

A solution was created for Java, Scala, and Python. Instructions for importing the Java and Scala projects into Intellij are included.

Things not to worry about

  • Validating command line arguments - you can just assume each program takes 1 argument which is always a valid number

About

Data Engineering Hours With Experts Coding Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0