An open API service indexing awesome lists of open source software.

https://github.com/whoabhisheksah/java-notes


https://github.com/whoabhisheksah/java-notes

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

## C++ STL equivalent(Collections)

### Important Interfaces
- List: `List res = new ArrayList();`
- add(obj)
- remove(index)

- Queue: `Queue bfs = new LinkedList();`
- q.add(obj); //
- q.remove(); //To remove the head of queue.
- TreeNode head = q.peek();
- q.size();