<?xml version="1.0"?>
<informationTable xsi:schemaLocation="http://www.sec.gov/edgar/document/thirteenf/informationtable eis_13FDocument.xsd"
	xmlns="http://www.sec.gov/edgar/document/thirteenf/informationtable"
	xmlns:n1="http://www.sec.gov/edgar/document/thirteenf/informationtable"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<infoTable>
		<nameOfIssuer>ALPHABET INC</nameOfIssuer>
		<titleOfClass>CAP STK CL C</titleOfClass>
		<cusip>02079K107</cusip>
		<value>294486590</value>
		<shrsOrPrnAmt>
			<sshPrnamt>864256</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>864256</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>BROWN &amp; BROWN INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>115236101</cusip>
		<value>108404801</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1780046</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1780046</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>CORPAY INC</nameOfIssuer>
		<titleOfClass>COM SHS</titleOfClass>
		<cusip>219948106</cusip>
		<value>54292472</value>
		<shrsOrPrnAmt>
			<sshPrnamt>139713</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>139713</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>CREDIT ACCEP CORP MICH</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>225310101</cusip>
		<value>139741677</value>
		<shrsOrPrnAmt>
			<sshPrnamt>263167</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>263167</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>HCA HEALTHCARE INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>40412C101</cusip>
		<value>160936456</value>
		<shrsOrPrnAmt>
			<sshPrnamt>377130</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>377130</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>HEICO CORP NEW</nameOfIssuer>
		<titleOfClass>CL A</titleOfClass>
		<cusip>422806208</cusip>
		<value>140464734</value>
		<shrsOrPrnAmt>
			<sshPrnamt>615183</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>615183</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>KAROOOOO LTD</nameOfIssuer>
		<titleOfClass>ORD SHS</titleOfClass>
		<cusip>Y4600W108</cusip>
		<value>137860080</value>
		<shrsOrPrnAmt>
			<sshPrnamt>2297668</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>2297668</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>META PLATFORMS INC</nameOfIssuer>
		<titleOfClass>CL A</titleOfClass>
		<cusip>30303M102</cusip>
		<value>509735549</value>
		<shrsOrPrnAmt>
			<sshPrnamt>702909</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>702909</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MSCI INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>55354G100</cusip>
		<value>139965953</value>
		<shrsOrPrnAmt>
			<sshPrnamt>259841</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>259841</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>NETFLIX INC.</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>64110L106</cusip>
		<value>145206224</value>
		<shrsOrPrnAmt>
			<sshPrnamt>2086896</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>2086896</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>UNITEDHEALTH GROUP INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>91324P102</cusip>
		<value>141827965</value>
		<shrsOrPrnAmt>
			<sshPrnamt>386368</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>386368</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
</informationTable>
