Concept Flow - Peek Front Element of Queue
Start with Queue
Check if Queue is empty?
Yes→Return 'Queue is empty'
No
Access front element
Return front element value
End
The flow checks if the queue is empty. If not, it accesses and returns the front element without removing it.
