LearnReally
by learnreallyin HindiCurated

Available inHindiEnglishFrenchGermanPortugueseRussianSpanish

Big-O और Data Structures: coding interview की तैयारी

Big-O notation शुरू से सीखिए और जानिए कि मुख्य data structures, searching और sorting में कितना time और memory लगता है। Coding interviews और computer science की पढ़ाई के लिए, simple loops से hash maps, trees और graphs तक।

220cards4imports
Try it first
Contents

Card 1 of 220

Big-O notation क्या बताता है?

Input बढ़ने पर algorithm की लागत कैसे बढ़ती है

Source

Big-O समय नहीं, बढ़त का ढंग बताता है: O(n) में काम input के साथ क़दम मिलाकर बढ़ता है, O(n²) में उसके वर्ग के साथ। Curves दिखाते हैं कि input बड़ा होने पर ये ढंग कितने अलग तरीक़े से चढ़ते हैं। सख़्ती से कहें तो Big-O उस बढ़त की ऊपरी सीमा बताता है। O का मतलब Ordnung है, German में “order”: यह notation Paul Bachmann (1894) से आया और Edmund Landau ने इसे फैलाया।