Back to General discussions forum
(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 )
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.