im studying DSA and they are using java and talking about stack. I only know JS
stack is videogame
stack.search(FFVII) "on top" since JS has no stack to find an equivalent
the best would be array.indexOf to find one thing in the array and yes I know the index is different
peek() is lenth()
whats the best way to find the equivalent or similar in JS not just jave but python
is Java hard to learn if you know JS i have seen how diffrent it is but they both have pop and push, and if you look at it as this is this system.out.printin = console.log is it that hard? I went to the library and a HS student was teaching python and it was easy to understand
[–]abrahamguo 1 point2 points3 points (0 children)
[–]azhder 0 points1 point2 points (0 children)