Trees மற்றும் graphs
Trees, graphs-ஐ code-ல represent பண்ணி, breadth-first, depth-first search-ஆ traverse பண்ணி, shortest path, connected groups, cycles கண்டுபிடிக்க எதை use பண்ணணும்னு முடிவு பண்ண முடியும்.
Intermediate 1 · LLM builderabout 3 hours5 sections
சுருக்கமா சொன்னா
Graph-னா edges-ஆ இணைச்ச nodes. Tree-னா cycles இல்லாத graph. Breadth-first search குறைஞ்ச hops இருக்குற path-ஐ கண்டுபிடிக்கும்; depth-first search அடைய முடிஞ்ச எல்லாத்தையும் explore பண்ணும்.
இது ஏன் முக்கியம்
Road maps, social networks, file systems, org charts, RAG-க்கான knowledge graphs எல்லாமே trees அல்லது graphs தான். Graph traversal interview-ல ரொம்ப அடிக்கடி வர்ற topic, routing, recommendation features-உம் இப்படித்தான் work ஆகுது.
Sign up free to read the whole lesson
The rest of this lesson: 5 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.
Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.
Related
Data structures and algorithmsIntermediate 1: LLM builderVideo lessonsBinary treeGraphBreadth-first searchDepth-first search