Daniel Demesmaecker wrote:When you try to move a package inside the same project, it will refactor.
If you move a package from on project to an other it will copy.
A cleaner solution is to create one main project and import all the other projects as seperate modules.
By the way, I also think this is more a question for the Ide forum
Jeanne Boyarsky wrote:Kevin,
Your .classpath file on the work computer specifies the "source directories". It looks you didn't commit this to the github repo. Which means, you are using the defaults on checkout.
Jeanne, is it your experience that .project and .classpath files (or any IDE-specific files) should be included in the git repository?
You have three stacks of cylinders where each cylinder may vary in height.
You can change the height of a stack by removing and discarding its topmost cylinder any number of
Find the maximum possible height of the stacks such that all of the
stacks are exactly the same height.
This means you must remove zero
or more cylinders from the top of zero or more of the three stacks
until they're all the same height, then print the height.
The removals must be performed in such a way as to maximize the height.
Note: An empty stack is still a stack.
Liutauras Vilda wrote:Looking to Piet's tip (missed it before), I must say I like it too. I have solution ready.
I really advise to follow Piet's suggestion, certainly easier approach than I had initially in my mind.
Anyway, go small.
First thing is to figure out how to normalize string/anagram. There is a habitual approach or using streams. As for habitual, think if you could convert string to an array of(?) and use Collections class to sort it? So later you could construct back the string from sorted array. Using streams api is slightly easier.