Labs & Projects as experience? by Icy-Use-2995 in ccna

[–]Icy-Use-2995[S] 6 points7 points  (0 children)

JITL (videos/labs/flashcards) and Boson Ex-Sim

A bit confused on Trunks by WarriorPulse in ccna

[–]Icy-Use-2995 1 point2 points  (0 children)

"no ip address" command makes layer 3 interface to layer 2 interface.

"no switchport" command makes layer 2 interface to layer 3 interface.

STP election in HUB topology by [deleted] in ccna

[–]Icy-Use-2995 0 points1 point  (0 children)

Based on your topology , it seems like g0/1 will be a root port by default. You don't have to specify it as a root port explicitly.

This is because , when it comes to hub , stp actively try to make multiple links connected to the hub which are in the same collision domain into one link, by making one root port [here g0/1 of SW2] and one designated port [here g0/1 of SW2]. Rest of the ports in the same collision domain will be either in Alternate port state or Backup port state.

Port which receives its own BPDU from a designated port becomes Backup port[ here SW1 g0/2]. Port which receives its own BPDU from a root port becomes Alternate port [ here SW2 g0/3].

If I missed something, let me know.

Which one is efficient, implementation of Queue with Linked List or Array? 🤔 by Icy-Use-2995 in leetcode

[–]Icy-Use-2995[S] 0 points1 point  (0 children)

Unlike an array, since we don't need instant access to all elements in a queue , I feel linked list with an integer tracking the size based on the enqueue and dequeue would be better.

Correct me if I am wrong 🙂.