Sorting, binary search, two pointers
முக்கியமான sorting algorithms எப்படி work ஆகுது, எவ்வளவு cost-ஆகுதுன்னு explain பண்ணலாம்; sorted data-லயும் answers-லயும் binary search use பண்ணலாம்; two pointers வச்சு pair, window problems-ஐ solve பண்ணலாம்.
Intermediate 1 · LLM builderabout 3 hours5 sections
சுருக்கமா சொன்னா
நல்ல sorts O(n log n)-ல ஓடும். Sorted data-ல binary search ஒரு item-ஐ O(log n)-ல கண்டுபிடிக்கும், two pointers pair, range problems-ஐ ஒரே pass-ல solve பண்ணும்.
இது ஏன் முக்கியம்
முதல்ல sort பண்ணி, அப்புறம் புத்திசாலித்தனமா search பண்ணா நிறைய மெதுவான problems வேகமாயிடும். Coding interview கேள்விகள்ல பெரிய பங்குல binary search-உம் two pointers-உம் வரும், databases-உம் search features-உம் வேகமா இருக்கிறதும் இப்படித்தான்.
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 searchTwo pointersBig-O notation