Filter
Exclude
Time range
-
Near
Day 8 of #BuildUntilHired ๐Ÿš€ Today I learned the Java Collection Framework: โœ… Queue Interface ArrayDeque LinkedList PriorityQueue โœ… Set Interface HashSet LinkedHashSet TreeSet โœ… Map Interface HashMap and basics of Map collections Also started learning SQL Basics and
1
1
13
Rohit Negi retweeted
#day33 today understand about hashmap, hashset , treemap, linkedlistmap,set , in deep how internally treeset work in Self balancing tree i.e. red black tree Thank you Rohit & Aditya Bhaiya๐Ÿ™๐Ÿป @CoderArmy @adityatandon02 @rohit_negi9 @java
1
4
202
ABC462 3ๅฎŒ A: Goใ ใจๅพฎๅฆ™ใซใ‚ใ‚“ใฉใใ•ใ„ B: ใ‚„ใ‚Œใฐใ„ใ„ใ‘ใฉๅ‡บๅŠ›ใŒๅพฎๅฆ™ใซใ‚ใ‚“ใฉใใ•ใ„ C: XYไธกๆ–นๅฐใ•ใ„ใ‚‚ใฎใŒใ‚ใ‚‹ใ‹ใ€ใจใ‚Šใ‚ใˆใšXใฎๅฐใ•ใ„ใปใ†ใ‹ใ‚‰TreeSetใซYใ‚’่จ˜้Œฒใ—ใชใŒใ‚‰่ฆ‹ใฆใ„ใฃใŸ D: ใ„ใ‚‚ใ™ๆณ•ใจๅฐบๅ–ใ‚Šๆณ•ใงใ‚„ใฃใฆใฟใŸใŒ้€šใ‚‰ใชใ„
2
113
Day 7 #SDESheetChallenge โœ… Two Sum โ€“ HashMap for complement lookup | O(N) โœ… 4 Sum โ€“ Sorting Two Pointers | O(Nยณ) โœ… Longest Consecutive Sequence โ€“ Using TreeSet | O(N log N) Solved: 3/3 โœ… @striver_79 @takeUforward_
3
23
Day 17 โ€” Today โ†’ Collection Framework practice ArrayList vs TreeSet Serialization concepts More hands-on Java problems Day 18 tomorrow. #LearnInPublic #Java #BackendDevelopment #BuildInPublic
2
50
Java Sorting โ”‚ โ”œโ”€โ”€ Comparable โ”‚ โ”œโ”€ ุฏุงุฎู„ ุงู„ูƒู„ุงุณ ู†ูุณู‡ โ”‚ โ””โ”€ ุชุฑุชูŠุจ ุงูุชุฑุงุถูŠ (Natural Order) โ”‚ โ”œโ”€โ”€ Comparator โ”‚ โ”œโ”€ ุฎุงุฑุฌูŠ (Flexible) โ”‚ โ”œโ”€ ุชุฑุชูŠุจ ู…ุฎุตุต ุญุณุจ ุงู„ุญุงุฌุฉ โ”‚ โ””โ”€ ูŠุณุชุฎุฏู… ุจูƒุซุฑุฉ ููŠ DSA โ”‚ โ”œโ”€โ”€ Collections.sort() โ”‚ โ”œโ”€ ุชุฑุชูŠุจ Lists โ”‚ โ”œโ”€ ูŠุฏุนู… Comparator โ”‚ โ””โ”€ ุดุงุฆุน ููŠ ุงู„ู…ุณุงุฆู„ โ”‚ โ”œโ”€โ”€ Arrays.sort() โ”‚ โ”œโ”€ ุชุฑุชูŠุจ Arrays โ”‚ โ”œโ”€ ูŠุฏุนู… Objects Comparator โ”‚ โ””โ”€ ุณุฑูŠุน ูˆุนู…ู„ูŠ โ”‚ โ”œโ”€โ”€ Sorting Order โ”‚ โ”œโ”€ Ascending (ุชุตุงุนุฏูŠ) โ”‚ โ””โ”€ Descending (ุชู†ุงุฒู„ูŠ โ†’ reversed) โ”‚ โ”œโ”€โ”€ PriorityQueue โ”‚ โ”œโ”€ Default: Min Heap โ”‚ โ”œโ”€ ูŠุชุญูˆู„ ุฅู„ู‰ Max Heap ุจู€ Comparator โ”‚ โ””โ”€ ู…ู‡ู… ููŠ ู…ุณุงุฆู„ Top K โ”‚ โ”œโ”€โ”€ TreeSet / TreeMap โ”‚ โ”œโ”€ ุชุฑุชูŠุจ ุชู„ู‚ุงุฆูŠ ู„ู„ุนู†ุงุตุฑ โ”‚ โ”œโ”€ ูŠุนุชู…ุฏ ุนู„ู‰ Comparator โ”‚ โ””โ”€ ู…ููŠุฏ ู„ู„ู€ ordered data โ”‚ โ”œโ”€โ”€ Custom Object Sorting โ”‚ โ”œโ”€ ุชุฑุชูŠุจ ุญุณุจ ุฃูŠ field โ”‚ โ”œโ”€ name / age / salary โ”‚ โ””โ”€ ุฃุณุงุณูŠ ููŠ interviews โ”‚ โ””โ”€โ”€ Use Cases โ”œโ”€ DSA problems โ”œโ”€ Greedy algorithms โ”œโ”€ Scheduling โ””โ”€ Interview questions
2
22
687
Day 16 โ€” Today โ†’ Serialization Collection Framework ArrayList TreeSet ArrayList taught flexibility. TreeSet taught ordering & uniqueness. Collections showed how much Java simplifies development. Day 17 tomorrow. #LearnInPublic #Java #CollectionFramework #BuildInPublic
1
3
51
#Day30 Today I gained a deep understanding of the Iterator and Iterable interfaces, including how they work internally with collections such as ArrayList, TreeSet, HashSet, and HashMap. Thank you Rohit and Aditya bhaiya ๐Ÿ™๐Ÿป @CoderArmy @adityatandon02 @rohit_negi9 @Java @Oracle
1
6
89
Day 104 : Remove Invalid Parentheses Approach : precompute exact ( and ) to remove via one pass, then DFS keep-or-drop each char while enforcing the closeโ‰คopen invariant, collecting valid leaves in a TreeSet for dedup lex sort. @geeksforgeeks #gfg
2
20
Replying to @xikhar
Binary search Dfs Bfs Treemap/treeset questions These are real brain stimulators
1
2
40
๐—๐—ฎ๐˜ƒ๐—ฎ ๐—ฅ๐—ผ๐—ฎ๐—ฑ๐—บ๐—ฎ๐—ฝ ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ ๐—๐—ฎ๐˜ƒ๐—ฎ ๐—™๐˜‚๐—ป๐—ฑ๐—ฎ๐—บ๐—ฒ๐—ป๐˜๐—ฎ๐—น๐˜€ Start with the core building blocks of Java programming. ๐Ÿ”น Syntax & structure ๐Ÿ”น Variables, data types, operators ๐Ÿ”น Control flow (if/else, loops, switch) ๐Ÿ”น Functions / methods ๐Ÿ”น Arrays & strings ๐—ข๐—ฏ๐—ท๐—ฒ๐—ฐ๐˜-๐—ข๐—ฟ๐—ถ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด (๐—ข๐—ข๐—ฃ) Java is built on OOP โ€” master it deeply. ๐Ÿ”น Classes & objects ๐Ÿ”น Encapsulation, inheritance, polymorphism, abstraction ๐Ÿ”น Interfaces & abstract classes ๐Ÿ”น Constructors & method overloading ๐Ÿ”น Access modifiers ๐—๐—ฎ๐˜ƒ๐—ฎ ๐—–๐—ผ๐—น๐—น๐—ฒ๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐˜€ Work efficiently with data structures. ๐Ÿ”น List, Set, Map interfaces ๐Ÿ”น ArrayList, LinkedList ๐Ÿ”น HashMap, TreeMap ๐Ÿ”น HashSet, TreeSet ๐Ÿ”น Iterators & comparators ๐—˜๐˜…๐—ฐ๐—ฒ๐—ฝ๐˜๐—ถ๐—ผ๐—ป ๐—›๐—ฎ๐—ป๐—ฑ๐—น๐—ถ๐—ป๐—ด Write robust and fault-tolerant applications. ๐Ÿ”น Try-catch-finally ๐Ÿ”น Checked vs unchecked exceptions ๐Ÿ”น Custom exceptions ๐Ÿ”น Best practices ๐—™๐—ถ๐—น๐—ฒ ๐—œ/๐—ข & ๐—ฆ๐—ฒ๐—ฟ๐—ถ๐—ฎ๐—น๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป Handle data storage and transfer. ๐Ÿ”น File reading/writing ๐Ÿ”น Buffered streams ๐Ÿ”น Object serialization ๐Ÿ”น NIO (New I/O) ๐— ๐˜‚๐—น๐˜๐—ถ๐˜๐—ต๐—ฟ๐—ฒ๐—ฎ๐—ฑ๐—ถ๐—ป๐—ด & ๐—–๐—ผ๐—ป๐—ฐ๐˜‚๐—ฟ๐—ฟ๐—ฒ๐—ป๐—ฐ๐˜† Build high-performance applications. ๐Ÿ”น Threads & Runnable ๐Ÿ”น Synchronization & locks ๐Ÿ”น Executors & thread pools ๐Ÿ”น CompletableFuture ๐Ÿ”น Concurrent collections ๐—๐—ฎ๐˜ƒ๐—ฎ ๐—™๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด Modern Java (Java 8 ) features. ๐Ÿ”น Lambda expressions ๐Ÿ”น Streams API ๐Ÿ”น Functional interfaces ๐Ÿ”น Optional class ๐Ÿ”น Method references ๐—๐—ฎ๐˜ƒ๐—ฎ ๐—™๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€ Build scalable applications faster. ๐Ÿ”น Spring Framework ๐Ÿ”น Spring Boot ๐Ÿ”น Spring MVC ๐Ÿ”น Hibernate / JPA ๐Ÿ”น Micronaut / Quarkus ๐——๐—ฎ๐˜๐—ฎ๐—ฏ๐—ฎ๐˜€๐—ฒ๐˜€ & ๐—ฃ๐—ฒ๐—ฟ๐˜€๐—ถ๐˜€๐˜๐—ฒ๐—ป๐—ฐ๐—ฒ Store and manage application data. ๐Ÿ”น JDBC ๐Ÿ”น SQL (MySQL, PostgreSQL) ๐Ÿ”น ORM (Hibernate) ๐Ÿ”น Transactions & connection pooling ๐—•๐˜‚๐—ถ๐—น๐—ฑ ๐—ง๐—ผ๐—ผ๐—น๐˜€ & ๐——๐—ฒ๐—ฝ๐—ฒ๐—ป๐—ฑ๐—ฒ๐—ป๐—ฐ๐˜† ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜ Manage and build projects efficiently. ๐Ÿ”น Maven ๐Ÿ”น Gradle ๐Ÿ”น Project structure ๐Ÿ”น Dependency management ๐—ง๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด Ensure code quality and reliability. ๐Ÿ”น JUnit ๐Ÿ”น Mockito ๐Ÿ”น Integration testing ๐Ÿ”น Test-driven development (TDD) ๐——๐—ฒ๐˜ƒ๐—ข๐—ฝ๐˜€ & ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜ Take your Java apps to production. ๐Ÿ”น Docker & containerization ๐Ÿ”น CI/CD pipelines ๐Ÿ”น Cloud deployment (AWS, Azure) ๐Ÿ”น Monitoring & logging ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ณ๐—ผ๐—ฟ ๐—๐—ฎ๐˜ƒ๐—ฎ Design scalable backend systems. ๐Ÿ”น REST APIs & microservices ๐Ÿ”น Caching (Redis) ๐Ÿ”น Message queues (Kafka, RabbitMQ) ๐Ÿ”น Load balancing & scaling ๐—ฅ๐—ฒ๐—ฎ๐—น-๐—ช๐—ผ๐—ฟ๐—น๐—ฑ ๐—ฃ๐—ฟ๐—ผ๐—ท๐—ฒ๐—ฐ๐˜๐˜€ Apply your knowledge practically. ๐Ÿ”น RESTful API with Spring Boot ๐Ÿ”น E-commerce backend system ๐Ÿ”น Authentication system (JWT) ๐Ÿ”น Microservices architecture project ๐Ÿ”น Banking or payment system Mastering this roadmap will take you from beginner to a professional Java developer capable of building scalable, production-ready applications.
6
84
Also tried to solve leetcode potd (hard), initially went with a greedy approach checking nearest factory in both directions using treeset but it failed After a hint switched to a simpler recursion dp approach and it got accepted Now next have to learn frontend logging and
1
3
5
41
๐—๐—ฎ๐˜ƒ๐—ฎ ๐—ฅ๐—ผ๐—ฎ๐—ฑ๐—บ๐—ฎ๐—ฝ ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ ๐—๐—ฎ๐˜ƒ๐—ฎ ๐—™๐˜‚๐—ป๐—ฑ๐—ฎ๐—บ๐—ฒ๐—ป๐˜๐—ฎ๐—น๐˜€ Start with the core building blocks of Java programming. ๐Ÿ”น Syntax & structure ๐Ÿ”น Variables, data types, operators ๐Ÿ”น Control flow (if/else, loops, switch) ๐Ÿ”น Functions / methods ๐Ÿ”น Arrays & strings ๐—ข๐—ฏ๐—ท๐—ฒ๐—ฐ๐˜-๐—ข๐—ฟ๐—ถ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด (๐—ข๐—ข๐—ฃ) Java is built on OOP โ€” master it deeply. ๐Ÿ”น Classes & objects ๐Ÿ”น Encapsulation, inheritance, polymorphism, abstraction ๐Ÿ”น Interfaces & abstract classes ๐Ÿ”น Constructors & method overloading ๐Ÿ”น Access modifiers ๐—๐—ฎ๐˜ƒ๐—ฎ ๐—–๐—ผ๐—น๐—น๐—ฒ๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐˜€ Work efficiently with data structures. ๐Ÿ”น List, Set, Map interfaces ๐Ÿ”น ArrayList, LinkedList ๐Ÿ”น HashMap, TreeMap ๐Ÿ”น HashSet, TreeSet ๐Ÿ”น Iterators & comparators ๐—˜๐˜…๐—ฐ๐—ฒ๐—ฝ๐˜๐—ถ๐—ผ๐—ป ๐—›๐—ฎ๐—ป๐—ฑ๐—น๐—ถ๐—ป๐—ด Write robust and fault-tolerant applications. ๐Ÿ”น Try-catch-finally ๐Ÿ”น Checked vs unchecked exceptions ๐Ÿ”น Custom exceptions ๐Ÿ”น Best practices ๐—™๐—ถ๐—น๐—ฒ ๐—œ/๐—ข & ๐—ฆ๐—ฒ๐—ฟ๐—ถ๐—ฎ๐—น๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป Handle data storage and transfer. ๐Ÿ”น File reading/writing ๐Ÿ”น Buffered streams ๐Ÿ”น Object serialization ๐Ÿ”น NIO (New I/O) ๐— ๐˜‚๐—น๐˜๐—ถ๐˜๐—ต๐—ฟ๐—ฒ๐—ฎ๐—ฑ๐—ถ๐—ป๐—ด & ๐—–๐—ผ๐—ป๐—ฐ๐˜‚๐—ฟ๐—ฟ๐—ฒ๐—ป๐—ฐ๐˜† Build high-performance applications. ๐Ÿ”น Threads & Runnable ๐Ÿ”น Synchronization & locks ๐Ÿ”น Executors & thread pools ๐Ÿ”น CompletableFuture ๐Ÿ”น Concurrent collections ๐—๐—ฎ๐˜ƒ๐—ฎ ๐—™๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด Modern Java (Java 8 ) features. ๐Ÿ”น Lambda expressions ๐Ÿ”น Streams API ๐Ÿ”น Functional interfaces ๐Ÿ”น Optional class ๐Ÿ”น Method references ๐—๐—ฎ๐˜ƒ๐—ฎ ๐—™๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€ Build scalable applications faster. ๐Ÿ”น Spring Framework ๐Ÿ”น Spring Boot ๐Ÿ”น Spring MVC ๐Ÿ”น Hibernate / JPA ๐Ÿ”น Micronaut / Quarkus ๐——๐—ฎ๐˜๐—ฎ๐—ฏ๐—ฎ๐˜€๐—ฒ๐˜€ & ๐—ฃ๐—ฒ๐—ฟ๐˜€๐—ถ๐˜€๐˜๐—ฒ๐—ป๐—ฐ๐—ฒ Store and manage application data. ๐Ÿ”น JDBC ๐Ÿ”น SQL (MySQL, PostgreSQL) ๐Ÿ”น ORM (Hibernate) ๐Ÿ”น Transactions & connection pooling ๐—•๐˜‚๐—ถ๐—น๐—ฑ ๐—ง๐—ผ๐—ผ๐—น๐˜€ & ๐——๐—ฒ๐—ฝ๐—ฒ๐—ป๐—ฑ๐—ฒ๐—ป๐—ฐ๐˜† ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜ Manage and build projects efficiently. ๐Ÿ”น Maven ๐Ÿ”น Gradle ๐Ÿ”น Project structure ๐Ÿ”น Dependency management ๐—ง๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด Ensure code quality and reliability. ๐Ÿ”น JUnit ๐Ÿ”น Mockito ๐Ÿ”น Integration testing ๐Ÿ”น Test-driven development (TDD) ๐——๐—ฒ๐˜ƒ๐—ข๐—ฝ๐˜€ & ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜ Take your Java apps to production. ๐Ÿ”น Docker & containerization ๐Ÿ”น CI/CD pipelines ๐Ÿ”น Cloud deployment (AWS, Azure) ๐Ÿ”น Monitoring & logging ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ณ๐—ผ๐—ฟ ๐—๐—ฎ๐˜ƒ๐—ฎ Design scalable backend systems. ๐Ÿ”น REST APIs & microservices ๐Ÿ”น Caching (Redis) ๐Ÿ”น Message queues (Kafka, RabbitMQ) ๐Ÿ”น Load balancing & scaling ๐—ฅ๐—ฒ๐—ฎ๐—น-๐—ช๐—ผ๐—ฟ๐—น๐—ฑ ๐—ฃ๐—ฟ๐—ผ๐—ท๐—ฒ๐—ฐ๐˜๐˜€ Apply your knowledge practically. ๐Ÿ”น RESTful API with Spring Boot ๐Ÿ”น E-commerce backend system ๐Ÿ”น Authentication system (JWT) ๐Ÿ”น Microservices architecture project ๐Ÿ”น Banking or payment system Mastering this roadmap will take you from beginner to a professional Java developer capable of building scalable, production-ready applications. Get the complete Java Handbook here: ๐Ÿ‘‰ codewithdhanian.gumroad.com/โ€ฆ
12
83
327
14,498
๐Ÿš€ Day 34 Java: Sets & Maps! Set Interface-Inherits all core funtionality. TreeSet-NavigableSet and SortedSet for ordering. Internal Storage-Sets internally use a HM. ConcurrentHashMap-Preferred Hashtable for multi-threaded environments. Specialized Maps-Covered EnumMap.
2
5
117
Todayโ€™s Progress: Learned about Map Tiles, including Vector Tiles vs Raster Tiles Set up Leaflet for map initialization Debugged issues related to Raster / GeoTIFF layers and made UI improvements in work Solved LeetCode POTD: Part 1 (Easy) Part 2 (Medium) using TreeSet
1
3
6
87
Day 36 & 37 of my Java journey ๐Ÿ“˜ Comparable โ€ข Custom sorting using compareTo() โ€ข 0 return can be dangerous in TreeSet/TreeMap ๐Ÿ“˜ Lambda Functional Interface โ€ข Short & clean code โ€ข Works with single abstract method Thanks @rohit_negi9 & @adityatandon02 #Java #Coding
2
5
107
#geekstreak60 #npci Day : 51/60 POTD : Intersection of Two Sorted Arrays Approach: Solved independently using Two Pointers. Initially used a TreeSet, then optimized to solve without extra space.
2
16
Day 33 of my Java journey ๐Ÿ“˜ Collection Framework (Set & Map) โ€ข Hash collisions & chaining โ€ข HashSet / HashMap โ€ข LinkedHashSet / LinkedHashMap (order maintained) โ€ข TreeSet / TreeMap (sorted) Thanks @rohit_negi9 & @adityatandon02 #Java #Coding #DSA #Programming #Learning
1
1
23
171
#Day29: Java Collection Framework unifies data structures via Iterable > Collection (List, Set, Queue) and Map, optimizing storage. implementations: ArrayList, LinkedList , HashSet/HashMap (O(1) hashing), TreeSet/TreeMap (sorted O(log n)), Queue/Deque (FIFO).
2
9
164