Short Trick to Find Rank of a Word With Repetitions
Duration: 9 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- About Course: About the Course
- CS | 01 | Digital Logic and Circuits and Discrete Mathematical Structures: Digital Systems & Boolean Basics, Number System, Number Representation, Logic Gates & Hardware, Boolean Expression, Boolean Minimization, Combinational Circuit, Sequential Circuits, Set Theory, Relations, Functions, Graph Theory, Group Theory, Propositional and Predicate Logic, Permutation and Combination
- CS | 02 | Computer Organization and Architecture: Basics of COA, Cache Memory Organization, Input Output Organisation, Pipelining, Instr Formats & Modes, Control Unit Design, Multiprocessors
- CS | 03 | Data Structures and Algorithm: Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs, Hashing, Algorithm Analysis, Time Complexity Analysis, Sorting Algorithms, Greedy Algorithms, Dynamic Programming, Minimum Spanning Trees, Shortest Path Algos, Complexity Theory, Advanced Algorithms
- CS | 04 | Problem Solving through C Programming: C Fundamentals, Control Flow, Functions, Arrays & Pointers, Storage Classes, Structures & Enums, DMA, Macros, Scoping & File Handling
- CS | 05 | Object Oriented Techniques: Object Oriented Technology, Java
- CS | 06 | Operating System: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Threads & Process Creation, Deadlock, Memory Management, Virtual Memory, Disc Scheduling, File Management, Windows OS, Unix OS
- CS | 07 | Database Management Systems: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, Relational Algebra, SQL, Relational Calculus, Transaction Management, Concurrency Control, Database Recovery, Database Security & Authorization, Query Processing & Optimization, File Organization & Indexing
- CS | 08 | Computer Networks: Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware basics
- CS | 09 | Software Engineering: Fundamentals of Software Engineering, Software Requirements and Quality Assurance, Software Design, Estimation and Metrics, Software Testing, Software Maintenance and Configuration Management
- CS | 10 | Internet Technology, Web Design and Web Technology: Internet Fundamentals, Web Design & Development, Protocols & Services, Web Publishing & Hosting, Server Side & Security, Emerging Technologies, JavaScript-Basics, HTML Basics
- CS | 11 | System Analysis And Design: Fundamentals of Systems and Information Systems, SDLC and Development Approaches, Software Documentation and Software Requirements Specification (SRS), SDD and Quality Assurance, Security, Risk Management & Maintenance
- CS | 12 | Information Security and Cyber Laws: Cyber Threats and Malware Attacks, Role of Internet and Web Services, Security in Mobile and Wireless Computing, Electronic Data Interchange and E-Commerce, Physical Security and Cryptography Basics, Intrusion Detection Systems (IDS), Cyber Safety and Security
- CS | 13 | Computer Graphics: Basics of Computer Graphics, 2-D Geometrical Transforms and Viewing, 3-D Object Representation, Geometric Transformations and Viewing
- GS Paper | 01 | Indian and World Geography: Geography
- GS Paper | 02 | History: History
- GS Paper | 03 | Indian Economy & Social Development: Indian Economy
- GS Paper | 04 | General Science: Biology, Chemistry, वैज्ञानिक उपलब्धियाँ और अनुसंधान / Scientific Achievements and Research
- GS Paper | 05 | Elementary Maths: संख्या पद्धति / Number System, Divisibility Rules, महत्तम समापवर्तक और लघुत्तम समापवर्त्य / HCF and LCM, प्रतिशत / Percentage, लाभ, हानि और बट्टा / Profit, Loss and Discount, साधारण और चक्रवृद्धि ब्याज / Simple and Compound Interest, अनुपात और समानुपात / Ratio and Proportion, औसत / Average, समय और कार्य / Time and Work, समय, चाल और दूरी / Time, Speed and Distance, Algebra, घन क्षेत्रमिति / Solid Mensuration, आँकड़ा निर्वचन / Data Interpretation, Arithmetic, Statistics, Probability, Sequence and Series (Series), मिश्रण और एलिगेशन / Mixture and Alligation, Calculus, Trigonometry, Vectors, संख्या पद्धति और संख्या सिद्धांत / Number Systems and Number Theory, यूक्लिडीय ज्यामिति और क्षेत्रमिति / Euclidean Geometry and Mensuration, सांख्यिकी और प्रायिकता / Statistics and Probability, निर्देशांक ज्यामिति, सदिश और त्रिविमीय ज्यामिति / Coordinate Geometry, Vectors and 3D Geometry, बहुपद, समीकरण और सम्मिश्र संख्याएँ / Polynomials, Equations and Complex Numbers, समतल क्षेत्रमिति / Plane Mensuration, सरलीकरण, घातांक और करणी / Simplification, Indices and Surds, समुच्चय, संबंध, फलन और विविक्त गणित / Sets, Relations, Functions and Discrete Mathematics
- GS Paper | 06 | Indian Polity and Governance: Polity
- GS Paper | 07 | Current Events: समसामयिकी / Current Affairs
- UPLT Live Classes Notes: UPLT Live Classes
- UPLT Full Mock Tests Tier 1:
- UPLT Full Mock Tests Tier 2:
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
This educational video, presented by Yash Jain from Knowledge Gate Educator, is a tutorial on finding the rank of a word in a dictionary, specifically focusing on words with repeated letters. The video begins with an introduction to the topic, using a title slide that reads "Rank of a Word (With Repetition)". The core of the lesson is a step-by-step demonstration of a method to calculate the rank. The instructor first analyzes the word "SECRET", which has 6 letters with the letter 'E' repeated twice. He explains that the rank is found by summing the number of words that can be formed with letters that come before the current letter in the alphabet, for each position in the word. For "SECRET", he calculates the number of words starting with letters A, B, C, D, and F (all before 'S') and then proceeds to the next letter 'E', calculating words starting with 'SE' and so on. The method involves using permutations of the remaining letters, adjusting for repetitions. The video then applies the same method to the word "GOOGLE", which has 6 letters with 'O' repeated three times and 'G' repeated twice. The instructor shows the calculation for each letter position, summing the results to find the final rank. The video concludes with a list of practice questions for the viewer, including words like "BANANA", "ZENITH", and "MISSISSIPPI".
Chapters
0:00 – 2:00 00:00-02:00
The video opens with a title slide for a lesson on "Rank of a Word (With Repetition)". The instructor, Yash Jain, introduces the topic. The first example presented is the word "SECRET". The instructor begins the calculation by identifying the letters in the word and their frequencies: S, E, C, R, E, T, with E appearing twice. He explains that the rank is determined by counting all the words that would come before "SECRET" in a dictionary. He starts with the first letter, 'S', and calculates the number of words that can be formed with letters that come before 'S' in the alphabet (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R). For each of these letters, he calculates the number of permutations of the remaining 5 letters, which is 5! (120). He then identifies that the letter 'E' is the next letter in the word, and he will now consider words starting with 'S' and the next letter being one that comes before 'E'. The on-screen text clearly shows the word "SECRET" and the initial calculation for the first letter.
2:00 – 5:00 02:00-05:00
The instructor continues the calculation for the word "SECRET". After establishing that 5 letters (A, B, C, D, F) come before 'S', he calculates the number of words starting with these letters as 5 * 5! = 600. He then moves to the second letter, 'E'. He identifies that the letter 'C' comes before 'E' and calculates the number of words starting with 'SC'. The remaining letters are E, R, E, T, which can be arranged in 4! / 2! = 12 ways. He then moves to the third letter, 'C'. He identifies that no letters come before 'C' in the remaining set (C, R, E, E, T), so the count for this position is 0. He then moves to the fourth letter, 'R'. He identifies that the letter 'E' comes before 'R' and calculates the number of words starting with 'SEC' and the next letter being 'E'. The remaining letters are R, E, T, which can be arranged in 3! = 6 ways. He then moves to the fifth letter, 'E'. He identifies that the letter 'E' is the same as the current letter, so he moves to the next position. The on-screen text shows the step-by-step calculation, including the numbers 5, 2, 1, 4, 2, 6, and the formula 5! / 2! for the first calculation.
5:00 – 8:47 05:00-08:47
The instructor completes the calculation for "SECRET". He moves to the fifth letter, 'E', and identifies that the letter 'E' is the same as the current letter, so he moves to the next position. He then moves to the sixth letter, 'T'. He identifies that the letter 'E' comes before 'T' and calculates the number of words starting with 'SECRE' and the next letter being 'E'. The remaining letter is T, so there is only 1 way. He sums all the calculated values: 600 (from S) + 12 (from SC) + 0 (from SEC) + 6 (from SECR) + 0 (from SECRE) + 1 (from SECRET) = 619. He then adds 1 to get the final rank, which is 620. He then moves to the next example, "GOOGLE". He identifies the letters and their frequencies: G, O, O, G, L, E, with O repeated three times and G repeated twice. He begins the calculation for the first letter, 'G'. He identifies that the letter 'E' comes before 'G' and calculates the number of words starting with 'E'. The remaining letters are G, O, O, G, L, which can be arranged in 5! / (2! * 2!) = 30 ways. He then moves to the second letter, 'O'. He identifies that the letter 'G' comes before 'O' and calculates the number of words starting with 'GG'. The remaining letters are O, O, L, E, which can be arranged in 4! / 2! = 12 ways. He then moves to the third letter, 'O'. He identifies that the letter 'G' comes before 'O' and calculates the number of words starting with 'GO'. The remaining letters are O, G, L, E, which can be arranged in 4! = 24 ways. He then moves to the fourth letter, 'G'. He identifies that the letter 'E' comes before 'G' and calculates the number of words starting with 'GOO'. The remaining letters are G, L, E, which can be arranged in 3! = 6 ways. He then moves to the fifth letter, 'L'. He identifies that the letter 'E' comes before 'L' and calculates the number of words starting with 'GOOG'. The remaining letters are L, E, which can be arranged in 2! = 2 ways. He then moves to the sixth letter, 'E'. He identifies that the letter 'E' is the same as the current letter, so he moves to the next position. He then adds all the calculated values: 30 + 12 + 24 + 6 + 2 + 0 = 74. He then adds 1 to get the final rank, which is 75. The video ends with a list of practice questions.
The video provides a clear, step-by-step method for calculating the rank of a word with repeated letters in a dictionary. The core concept is to break down the problem position by position. For each letter in the target word, the instructor calculates the number of valid permutations of the remaining letters that can be formed using letters that are alphabetically before the current letter. This count is then summed for all positions. The method explicitly accounts for repeated letters by dividing the total permutations by the factorial of the count of each repeated letter. The video effectively demonstrates this process with two detailed examples, "SECRET" and "GOOGLE", and concludes by providing a list of practice problems to reinforce the concept.