Java Collections Framework-Part8 | Queue Concept | Hands-on

Поділитися
Вставка
  • Опубліковано 17 вер 2024
  • Topics :
    ------------
    1) Queue Concept
    2) Hands-on
    #########################
    Udemy Courses:
    #########################
    Manual Testing+Agile with Jira Tool
    ************************************
    ► lnkd.in/gNqhEq9K
    Selenium with Java+Cucumber
    ********************************
    ► lnkd.in/g5YcAQyR
    Selenium with Python & PyTest
    ********************************
    ► lnkd.in/gvrpyYan
    Selenium with python using Robot framework
    ****************************************
    ► lnkd.in/gxsDf8zR
    API Testing(Postman, RestAssured & SoapUI)
    *****************************************
    ► lnkd.in/gHKQ2v2e
    Web & API Automation using Cypress with Javascript
    ********************************************
    ► lnkd.in/gcZz5Psx
    Playwright with Javascript
    **************************
    ► shorturl.at/gALZ1
    Jmeter-Performance Testing
    ************************
    ► lnkd.in/gA3eiZPY
    SDET Essencials(Full Stack QA)
    *************************
    ► lnkd.in/gmBc4-wD
    Appium-Mobile Automation Testing
    ************************************
    ► lnkd.in/gi_UiRTA
    Java Collections
    *****************
    ► lnkd.in/gZftiiEn
    Python Programming
    *********************
    ► lnkd.in/ghP6WHQz
    Cucumber BDD Framework
    ***************************
    ► bit.ly/3F7d69r
    Protractor with Javascript
    ***************************
    ► lnkd.in/gZnJ2qsS
    ####################################
    UA-cam Playlists:
    ####################################
    Manual Testing & Agile
    ***********************
    ► bit.ly/3ujvaYa
    ► bit.ly/3OYzxQj
    SQL
    *************************
    ► bit.ly/3R6XjeG
    ► bit.ly/3nE0a1s
    ► bit.ly/3IeKuuJ
    linux & Shell Scripting
    **********************
    ► bit.ly/3up1Z6a
    ► bit.ly/3nzvGxx
    Java
    **********************
    ► bit.ly/3R9QfOs
    ► bit.ly/3AoRMKM
    ► bit.ly/3IbTTDn
    ► bit.ly/3ybXInv
    ► bit.ly/3yCoHdw
    Selenium With Java+Cucumber
    ********************************
    ► bit.ly/3P2FMm4
    ► bit.ly/3yhiIt4
    ► bit.ly/3uokzet
    ► bit.ly/3a7XIND
    ► bit.ly/3umN2S9
    ► bit.ly/3aar7GW
    ► bit.ly/3y9kD2S
    ► bit.ly/3uhLskn
    Python
    ********************************
    ► bit.ly/3agNgU0
    ► bit.ly/3NJNnoy
    ► bit.ly/2CTQ4mR
    ► bit.ly/3OIYWh1
    Selenium With Python,Pytest&Behave
    ***************************************
    ► bit.ly/3OHHoC9
    ► bit.ly/3IeNLdv
    ► bit.ly/2J4tPeT
    ► bit.ly/3ydSkAq
    Selenium With Python Using Robert Framework
    (Web&API Testing)
    *************************************************
    ► bit.ly/3nUvlpr
    ► bit.ly/3nUvE3z
    API Testing (Postman,SoapUi,&Rest Assured)
    **********************************************
    ► bit.ly/3OXacWY
    ► bit.ly/3yh0UhE
    ► bit.ly/3nC9DWQ
    ► bit.ly/3yGfhNS
    ► bit.ly/3OJa11H
    ► bit.ly/3P2slCC
    Mobile App Testing Appium
    ****************************
    ► bit.ly/3Al49HG
    Performance Testing Jmeter
    *******************************
    ► bit.ly/3nz4fE7
    Maven,Jenkins,Git,Github,CI/CD
    *******************************
    ► bit.ly/3P16HPj
    ► bit.ly/3yhlUVA
    ► bit.ly/3afYfwT
    ► bit.ly/3yGzweG
    ► bit.ly/3yF73Ws
    ► bit.ly/3NCOmH7
    SQL,DB Testing&ETL,Bigdata
    *******************************
    ► bit.ly/3NKOcNY
    ► bit.ly/3OVpDyI
    ► bit.ly/3NEvUy0
    ► bit.ly/3IryxlT
    ► bit.ly/3RkWBLh
    JavaScript Based Automation Tools
    ********************************
    ► bit.ly/3nUx51X
    ► bit.ly/3AqI6Q0
    ► bit.ly/3yeurbT
    ► bit.ly/3ujzpTK
    Selector Hub Tools
    ********************
    ► lnkd.in/gfqbR5TC
    GraphQL
    ******************

    Cypress API Testing
    ********************

    Cypress Web Testing
    **********************
    ► lnkd.in/gW8SgMna
    Playwright with Javascipt
    **************************
    ► lnkd.in/gQZwaaVD
    #JavaCollections
    #JavaProgramming
    #CodeInJava
    #DataStructures
    #CollectionsFramework
    #ArrayList
    #LinkedList
    #HashSet
    #TreeSet
    #HashMap
    #TreeMap
    #LinkedHashMap
    #QueueInterface
    #StackImplementation
    #JavaGenerics
    #CollectionInterfaces
    #SortingAlgorithms
    #JavaCoding
    #CollectionIteration
    #StreamAPI
    #LambdaExpressions
    #JavaDevelopment
    #CodingTips
    #JavaPerformance
    #CodeOptimization
    #JavaTipsAndTricks
    #JavaBeginners
    #CodingChallenges
    #JavaCommunity
    #ProgrammingLogic
    #LearnJava
    #JavaTutorials
    #JavaMastery
    #CodeWithMe
    #JavaInDepth
    #CollectionExamples
    #ObjectOrientedJava
    #JavaCodingSkills
    #CodingJourney
    #JavaDataManagement
    #JavaProjects
    #DataManipulation
    #JavaLearning
    #CodingFundamentals
    #JavaBestPractices
    #JavaTricks
    #JavaDevelopmentTips
    #CodingExploration
    #JavaCodeSnippets
    #JavaCodingCommunity

КОМЕНТАРІ • 75

  • @krishnaverma3529
    @krishnaverma3529 2 роки тому +8

    Dear sir, your way to learning is very simple and great. I will follow your instructions.

  • @AneriPatel-cz1gg
    @AneriPatel-cz1gg 2 місяці тому +2

    Thank you so much, sir. You explained very well. Hats off to you!

  • @GOVARDHANACHARI-em9mm
    @GOVARDHANACHARI-em9mm 4 місяці тому +1

    I have watched many channels in youtue But ur explanation Just sprb remembered for Long time sir
    Thank u sir

  • @mudunurisaikrishnamraju5275
    @mudunurisaikrishnamraju5275 4 роки тому +7

    Superb explanation 👌. Sir pls teach full core java and data structures.

  • @ferfykins
    @ferfykins 3 роки тому +4

    Love this collections series, thanks so much!

  • @kunalithape5801
    @kunalithape5801 2 роки тому +3

    Sir, you are doing such a great job thank you for your guidance videos 👍🏻

  • @keyurpatel-r3d
    @keyurpatel-r3d Рік тому +4

    I have to mention two points.
    1) LinkedList implements Deque
    2) Insertion order is not maintained in the Priority queue.

    • @ಯಾತ್ರಿಕ
      @ಯಾತ್ರಿಕ Рік тому

      Yes , Insertion order is not maintained in priority queue.

    • @chiranjeevishankarn7904
      @chiranjeevishankarn7904 Місяць тому +1

      1) Priority queue maintains natural ordering of the language
      2) Priority queue creates default size of 11 in the memory

  • @satyajitsahoo30
    @satyajitsahoo30 3 роки тому +4

    In priority queue insertion order based on default natural sorting, duplicated allowed, hetrogeneous are not allowed , null insertion not possible .

  • @rocked789
    @rocked789 2 роки тому +2

    @SDET- QA Automation Techie please correct it ..priority queue will not preserve insertion order

  • @kya_karoge_jaanke1607
    @kya_karoge_jaanke1607 Рік тому +3

    We admire your work sir💫💫

  • @laxmikantmhamane9816
    @laxmikantmhamane9816 Рік тому

    Love the way of teaching best video on the internate for queue concept

  • @dipakagarwal1538
    @dipakagarwal1538 3 роки тому +2

    You mentioned that offer() method returns false if insertion is not successful, but in the code example, it threw ClassCastException.

    • @mvs69
      @mvs69 2 роки тому

      yes

  • @MrFresherguy
    @MrFresherguy 3 роки тому +2

    Sir, The way the topics are covered are awesome.Can you please cover BDD cucumber framework.

  • @bestjobs9762
    @bestjobs9762 3 роки тому +1

    superb and excellent. explained in a very simple manner. remembered my college days.

  • @ajinkyadhoke4713
    @ajinkyadhoke4713 2 роки тому

    Top Notch Content Sir .......

  • @sumitshivhare8549
    @sumitshivhare8549 4 роки тому +2

    thanks for this owsome tutorial:-)

  • @icanalsocode
    @icanalsocode 6 місяців тому

    Sir, in priority queue insertion order is not maintained. Otherwise, I have followed all your video. Your videos are superb,

  • @jaickey09
    @jaickey09 Рік тому +1

    Got few insights, thanks

  • @ballaphanindra3422
    @ballaphanindra3422 2 роки тому +1

    I appreciate your teaching but just came to know by seeing comments below i.e., Insertion order is not preserved in PriorityQueue.
    I even cross checked, it is not preserved.
    Thanks

  • @rameshrongala922
    @rameshrongala922 7 місяців тому +1

    Thanks sir.

  • @sachinsonone1823
    @sachinsonone1823 3 роки тому +1

    Please make video tree set and treemap

  • @preetamvarun9219
    @preetamvarun9219 9 місяців тому +1

    Thank You!

  • @raji1358
    @raji1358 4 роки тому +1

    very good explanation.

  • @saurabh_purandare
    @saurabh_purandare 3 роки тому +2

    Great Explanation!
    Just want to confirm 20:40, Is insertion order preserved in PriorityQueue too?
    I think the elements are stored based on the priority order which is ascending by default.
    can you please confirm?
    Thanks

    • @bhuvanchandmaddi800
      @bhuvanchandmaddi800 3 роки тому +1

      Yes Insertion order is preserved PriorityQueue too , 8:06

    • @charanbudama2601
      @charanbudama2601 3 роки тому +3

      Insertion orer is not preserved in priority Queuw

    • @sonalkanchan147
      @sonalkanchan147 3 роки тому

      Insertion order is not preserved...que.add("A");
      que.add("om");
      que.add("Tom");
      que.offer("A");
      System.out.println(que);
      Output:[A, A, Tom, om] @SDET could you confirm?

    • @snehamhetre2336
      @snehamhetre2336 3 роки тому

      I also have the same doubt.

    • @gokulkrishnan291
      @gokulkrishnan291 3 роки тому +2

      maximum ASCII value will have the highest priority. Output ordered based on ASCII value

  • @umamaheshballa2193
    @umamaheshballa2193 4 роки тому

    thank you so much sir given valuable information to us , sir any planing to reaming collection topics

  • @jaspal259
    @jaspal259 Рік тому +1

    Sir, As you said, insertion order is preserved in the priority queue but it doesn't seem like this as I've tried this one & Insertion order is not getting preserved. Only sorted results will be shown in the console. Could you pls confirm once. ?

  • @DheerajKumar-mb9jk
    @DheerajKumar-mb9jk 3 роки тому +1

    Insertion order is not preserved . PriorityQueue return elements in ascending order.

  • @pavanMudavath822
    @pavanMudavath822 Рік тому +1

    sir what about queue interfaces???

  • @AppadiEnathandaPesureenga
    @AppadiEnathandaPesureenga Рік тому

    Your teaching was excellent sir, but I have doubts, sir if I use element(), peek() will I get the topmost element sir I add 4 elements by using add() like this order K, V, C, B added sir I get the element by using element() and peek() I get the element was 'B' sir... Could you please explain why and what's the reason...

  • @Mysterious_universe601
    @Mysterious_universe601 2 роки тому +1

    Thank you sir

  • @gauri992
    @gauri992 3 роки тому +2

    Thankyou for the collection series sir....

  • @muttamounika
    @muttamounika Рік тому +1

    sir,in priority queue is insertion order preserved????

  • @ayushjain7555
    @ayushjain7555 7 місяців тому +1

    cant we use for loop in case of arrayList?

  • @onkardhavale117
    @onkardhavale117 2 роки тому

    thank you sir for great teaching but i have one little doubt that sir in priority queue hertogeneous data can save in IDE 2021-12 4.22.0 version is depend on version? can please ensure that?

  • @kennyi1200
    @kennyi1200 3 роки тому

    Thanks

  • @AmongUs-qt3uo
    @AmongUs-qt3uo Рік тому

    How is insertion Order preserved in priority queue?

  • @sweetthirty2
    @sweetthirty2 Рік тому

    You are the best sir please reply my mail regarding QA doubt which I have sent

  • @srinivasraghupatruni3036
    @srinivasraghupatruni3036 2 роки тому

    Sir.. Queue doesn't allow duplicates then how priority queue allows duplicates?

  • @kishorep5572
    @kishorep5572 Рік тому

    Sir which algorithm it follow internally.

  • @vyankateshodilwar
    @vyankateshodilwar Рік тому

    Sir priorityQueue class implements Queue interface whereas LinkedList class implements deque interface which is child interface of Queue interface but you mentioned LinkedList class implements Queue interface.

    • @AmongUs-qt3uo
      @AmongUs-qt3uo Рік тому

      ArrayDqeueue implements dequeue interface. LinkedList implements Queue and LIst

    • @saarza9991
      @saarza9991 2 місяці тому

      ❤❤

  • @jagdishs2870
    @jagdishs2870 2 роки тому

    Sir.
    Priority queue doesn't allow insertion order..

  • @snehamhetre2336
    @snehamhetre2336 3 роки тому +2

    Hi Sir, I have a question for priority queue, you said it preserves the insertion order but for me it is sorting the queue when I am trying to sys out the same. Can you please explain it?

    • @gokulkrishnan291
      @gokulkrishnan291 3 роки тому

      maximum ASCII value will have the highest priority.Output ordered based on ASCII value

    • @rocked789
      @rocked789 2 роки тому +1

      priority queue will not preserve insertion order

    • @abdoesam2011
      @abdoesam2011 2 роки тому +1

      it was a mistake, priorityQueue does not preserve insertion but Linkedlist does

  • @Arjun2mkap3929
    @Arjun2mkap3929 Рік тому

    10:00

  • @Mewoi9205
    @Mewoi9205 2 роки тому

    cant able to understand saaar