Using API or higher level structures

Back to General discussions forum

nullgorilla     2017-10-16 13:42:42

(I am writing in Java language)

I am wondering can I solve all problems just using basic structures(primitive types, array, loops and control flow statements etc)? I sometimes use higher structures like ArrayList, Stack, BigDecimal and because of this situation I am not satisfied...I mean I feel like buy a fish not catch a fish. I did not read Java's ArrayList class file but I imagine very complex class that consume a lot of memory and processing when I use it. What is my problem? Have not i enough mathematical thinking or first 50 problems must use higher stuructures?

(yes I know English so important to communicate with World :D )

Quandray     2017-10-17 10:36:35
User avatar

I don't know if this will help. It's up to you how you solve the problems. Any problem can be solved using basic structures, but often it is easier to use whatever features your language provides.

Please login and solve 5 problems to be able to post at forum