#LinkedList
Explore tagged Tumblr posts
Text
JavaCollections: Your Data, Your Way
Master the art of data structures:
List: ArrayList, LinkedList
Set: HashSet, TreeSet
Queue: PriorityQueue, Deque
Map: HashMap, TreeMap
Pro tips:
Use generics for type safety
Choose the right collection for your needs
Leverage stream API for elegant data processing
Collections: Because arrays are so last century.
#JavaCollections: Your Data#Your Way#Master the art of data structures:#- List: ArrayList#LinkedList#- Set: HashSet#TreeSet#- Queue: PriorityQueue#Deque#- Map: HashMap#TreeMap#Pro tips:#- Use generics for type safety#- Choose the right collection for your needs#- Leverage stream API for elegant data processing#Collections: Because arrays are so last century.#JavaProgramming#DataStructures#CodingEfficiency
2 notes
·
View notes
Text
Test Your Knowledge: Quiz Challenge!!! 📝🧠
Which hashing technique is free from clustering?🤔
For more interesting quizzes, check the link below! 📚 https://bit.ly/42qN0sr
For the explanation of the right answer, you can check Q.No. 18 of the above link. 📖
1 note
·
View note
Text
LinkedList Class in Java with Program Example
LinkedList is child class of List and Queue interface. It owns the behaviour of Doubly Linked List and represents its underlying data structure . It is ideal to use when insertion or deletion are the frequent operations. In Linked List, elements are not stored in sequential manner,instead, each element in a Linked List is stored as a separate node, pointing to the previous and next elements in…
View On WordPress
0 notes
Text
i love it when my mutuals rb a post from each other one after another
131 notes
·
View notes
Text
003 GRAPH THEORY
download notes
#Arrays#CodingConcepts#ComputerScience#DataStructures#DownloadCSNotes#FreeCSNotes#Graphs#LinkedLists#ProgrammingFundamentals#Queues#SoftwareEngineering#Stacks#STEMEducation#StudyCS#Trees#UniversityCS
0 notes
Text
dreamdoll watchlist ★
youtube
key takeaways:
python is a good beginning coding language to start with
start with: variables, datatypes, loops, functions, if statements, oop
if you covered the basics, it would and should take you approx. 2 weeks.
first project: do something interesting/useful. start small.
simple games or a food recommendation system with specific ingredients
panda dataframe
use API = application programming interface = different pieces of software interacting with each other. grabbing data from another source
after your first project, learn about data structures and algorithms. how API works. learn how to read documentation.
dictionary
linkedlists
queues
heaps
trees
graphs
learn about more things and how to implement them into projects.
correct mindset:
implementation and application > theory and concepts knowing ≠ being able to do it
stay curious.
explore things outside of what is prescribed in a resource. that's how you learn about different concepts and how you deeply understand the concepts that you already know.
the best programmers they've met are the tinkers. these are the people who play around with their code and try a bunch of different things.
getting stuck:
it all comes down to problem solving. be comfortable with not knowing things and staying calm while trying to figure out the problems
how to learn even faster:
find a community where you work on projects together. you will learn so many things from other experiences programmers just by interacting with them. and accountability because you just can't give up
learning is never ending. you will always be learning something new.
12 notes
·
View notes
Text
Software Technical Interview Review List
Data Structures
Arrays (and Java List vs ArrayList)
String
Stack
Queue
LinkedList
Algorithms
Sorting (Bubblesort, Mergesort, Quicksort)
Recursion & Backtracking
Linear and Binary Search
String/Array algos
Tree traversal
Dynamic Programming
Graph algos (DFS, BFS, Dijksta's and Kruskals)
OOP fundamentals
Polymorphism
Inheritance
Encapsulation
Data abstraction
SOLID and GRASP
Explanations & example questions:
Strings and Arrays [ 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 ]
Stacks and Queues [ 1 | 2 ]
LinkedList [ 1 | 2 ]
Sorting & searching [ 1 | 2 | 3 | 4 | 5 | 6 | 7 ]
Recursion and Backtracking [ 1 | 2 | 3 | 4 ]
Dynamic Programming [ 1 | 2 | 3 | 4]
Graphs [ 1 | 2 | 3 ]
Tree [ 1 | 2 ]
General DS&A info and questions [ 1 | 2 | 3 | 4 | 5 ]
OOP review & questions [ 1 | 2 | 3 ]
#ive been procrastinating this coding assessment for my interview so bad 😭😭#im just scared of messing up cause i need this internship#But its due soon so im really buckling down now >:)#object oriented programming#algorithms#data structures#software engineering#ref#resource#mypost
20 notes
·
View notes
Text
Day 23-24 of 100 Days Coding Challenge
Completed LeetCode Daily Challenge.
Did some questions on LinkedList.
Revised some concepts of JS.
Read a chapter of Think and Grow Rich.
Happy Coding!
12 notes
·
View notes
Text
26/09/2023 || Day 88
LeetCode
I tried to do a LinkedList question and spent about an hour on it and I couldn't solve it. Even looking at the answers I had trouble understanding it, so I'll try again tmr.
FrontendMentor Space Tourism Website - Log #2
I told myself I'd do mobile first design, so today I spent the day working on a hamburger menu for this project and needless to say, that was tough. I think I need to go back tmr and add another component to better organize things, because the behaviour of the hamburger menu isn't fully 100% functional, especially switching between a mobile-sized screen to a desktop-sized screen. Honestly, I'm a little glad that this is causing me so much trouble, because I'd rather struggle with a project and learn something than just finish it up easily and learn nothing. The struggle is making it worth it.
Here's the mobile view after you've clicked on the menu icon. Tmr I'll move the different links to the right side and have them stack on top of each other. The big problem here is that Frontend Mentor didn't provide a reference for how this should look, so I'm free-balling it here.
7 notes
·
View notes
Text
Test Your Knowledge: Quiz Challenge!!! 📝🧠
A dictionary has a set of ------- and each key has a single associated value.🤔
For more interesting quizzes, check the link below! 📚 https://bit.ly/42qN0sr
For the explanation of the right answer, you can check Q.No. 15 of the above link. 📖
0 notes
Text
would just like to clarify for anyone who might be thinking that professors in computer science fields might be more proficient with presentation technologies/file uploads/any kind of digital interfacing that professors use to give intruction due to their background in CS, i PROMISE you they are not
this man downloads the files he uploaded to canvas every time he wants to show them to us. files already on his pc and downloaded several times evidenced by the file name showing as "linkedList 3(4) . cpp"
i have to believe that his hard drive is in shambles.
4 notes
·
View notes
Text
Collect (And The FromIterator Trait)
collect is one of the most cool and versatile methods iterators implement (in my opinion ofc), It's designed around collecting an iterator into a collection, 1..50.collect::<Vec<_>>() will create a vector of elements 1 through 49, but 1..50.collect::<LinkedList<_>>() will create a Linked List of 1 through 50... but how does it work, and what other neat tricks does it support, and why can't it ever infer your type?
How does it work?
In short if your collection implements FromIterator<T>, then you can create it from an iterator of T using collect, that's how the method is implemented (by default), it's got one generic type argument, which is it's return type, and it call's that types from_iter method on your iterator.
Neat tricks
This makes the function stupid pliable, it allows you to easily take your iterators and turn them into collections, it even works for Hashmap if your iterator is of a valid key value pairing.
some types have fancy implementations of FromIterator that make it really easy to use the function, for example an iterator of Results or Options can be consolidated into a Result or Option of any collection. if there is an Err or None that's the return, otherwise the return is Ok or Some with a collection of unwrapped values. Great for when you want to just unwrap things in bulk.
How do I get it to infer my types?
The tricky part about collect is that it's not easy for the compiler to guess your types, if you to just call .collect() on an iterator it has no idea what type you want, even if you just want a simple Vec, since it's generic parameter is required to be known to have it's return value, so you either have to use turbofish syntax (like this .collect::<T>()) to specify your collection, or otherwise indicate to the compiler what specific type it should be returning (like adding a type declaration to a variable binding that it's assigning to).
since most collections are generic over some type, it could get annoying to write it all out, but since the method knows what type the iterator is iterating over, you can typically skip that part by just writing .collect::<Collection<_>>(), since it can infer that _ is whatever type the iterator returns.
2 notes
·
View notes
Text
002 GRAPHS AND NETWORK ALOGARITHMS
download notes
#Arrays#CodingConcepts#ComputerScience#DataStructures#DownloadCSNotes#FreeCSNotes#Graphs#LinkedLists#ProgrammingFundamentals#Queues#SoftwareEngineering#Stacks#STEMEducation#StudyCS#Trees#UniversityCS
0 notes
Text
July day 6
Today I will
Learn flask for 1 hour.
Read easy DSA book 1 hour.
Solve One Codeforces problem.
Revise arrays and linkedlists on leetcode.
EDA for the lumpy project (not included in my studystats).
Start probability chapter in deep learning book.
Watch one hour video on nlp.
Revise linear algebra and ml.

3 notes
·
View notes
Text
I somewhat suspect that the Tumblr queue is not based on an actual Queue data structure. Based on our ability to access and edit it, it's likely some sort of List structure.
I'd probably use a LinkedList if I had to develop it (granted, that's effectively a Queue with more peeking, access and modification functionality), but it wouldn't surprise me either if it's an ArrayList.
Just discovered the queue, this thing is amazing
33K notes
·
View notes