K
K
Kostya Bakay2016-01-22 03:24:44
Java
Kostya Bakay, 2016-01-22 03:24:44

What algorithmic tasks can be in a Java interview?

I'm not interested in logical tasks (such as weighing coins), but in algorithmic tasks (possibly with data structures) that will be asked to be implemented on paper - for example, inverting an array. Can you write what tasks are often encountered in interviews?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sirs, 2016-01-22
@kostyabakay

Depending on what position java dev in question. If you go to the web, you can forget about "invert the array".
Have a look at design patterns (patterns) better:
-Patterns for creating objects (creational): Singleton, Builder, Abstract Factory, etc.
- Structural patterns (structural): Adapter, Composite, Facade, etc.
-Behavioral patterns: Chain of Responsibility, Interpreter, Command, Mediator.
...
Also often asked what is the basis of collections, for example ArrayList, HashSet, various Queue. For example, what is the difference between the internal structure of a TreeSet and a HashSet, what happens when an element is added to a TseeSet and what happens when an element is added to a HashSet, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question