Search Jim Cramer's "Mad Money" trading recommendations using our exclusive "Mad Money" Stock Screener.

Does the tech sector have its mojo back? That's what Jim Cramer was asking his Mad Money viewers on Monday.

Cramer says yes, and the catalyst that pushed him over the fence was Microsoft's (MSFT) - Get Report$26.2 billion buy of LinkedIn (LNKD) .

While some analysts were against the takeover, saying the money would have been better spent on dividends, buybacks or on a different acquisition target, Cramer disagreed. LinkedIn's growth rate has been slowing but its revenue growth is still much, much faster than anything Microsoft is putting up right now.

While the deal may not be accretive for the first few years, it does give Microsoft the much-needed growth that it's lacking, he reasoned. Microsoft's cloud revenue had been a big driver of the stock, but investors saw that rate of growth slow last quarter, causing a quick selloff.

"This merger makes me want to buy Microsoft shares, not sell them," Cramer said. Microsoft had $100 billion as of last quarter, which is more than enough to cover the price tag for LinkedIn in the all-cash deal. Even at $196 per share, a near 50% premium to Friday's closing price, the deal still represents a 13% discount to LinkedIn's stock price at the beginning of the year.

"This is fabulous news for the market because tech represents over 18% of the S&P 500," Cramer added. He explained that other parts of tech are ripe for M&A, given the discount where some stocks are trading.

King Coal Is Dead

"I honestly didn't think King Coal could be dethroned this fast," Cramer told viewers. Coal made up 39% of U.S. energy in 2014 and 33% last year. Natural gas, which many predicted to equal coal's market share, hit parity of 33% in 2015. But this year natural gas will surpass coal as the number one energy source in the U.S.

Cramer said that as a result, natural gas has "practically destroyed the coal industry" and it's "wreaked havoc" on the railroads and their earnings, as one of its top cargoes continues to suffer from double-digit volume declines.

So which stocks should you buy?

Chesapeake Energy (CHK) - Get Report and Southwestern Energy (SWN) - Get Report are beneficiaries of rising nat gas prices but they have strained balance sheets. Encana (ECA) - Get Report has a strained balance sheet, but gives investors "good bang for the buck," Cramer explained.

Cramer's Profit Candidate

With the election down to Hillary Clinton vs. Donald Trump, investors should look for ways to profit from the coming ad-spending cycle, Cramer told viewers. Specifically, investors should be on the look out for companies that sell advertising in key swing states or in areas where there have been contentious Senate races.

Here's Cramer's candidate: Tegna (TGNA) - Get Report .

Tegna is the spinoff from Gannett (GCI) - Get Report , when management believed Gannett's digital and broadcasting assets were being undervalued because of its newspaper assets.

Tegna is down more than 30% since the spinoff, as its digital assets and CareerBuilder, aren't performing as well as expected. But with a valuation of just 10 times this year's earnings and shares near 52-week lows, investors appears to have priced in all the negativity. The stock appears "de-risked," Cramer reasoned, adding, "that's way too cheap."

The company has 46 channels and is the No. 1 affiliate for NBC and CBS, and the No. 4 affiliate for ABC. At the peak of ad-spending season, broadcasters can see political ad pricing spike 40 to 50 times that of a normal advertisement.

Even better? Tegna has a significant presence in key swing states, such at Florida, Ohio, North Carolina and Colorado, among others. "Cha-ching, Cha-ching," Cramer said. Cramer said he can't endorse this as an investment because of the struggling digital business, but as a speculation play this one is worth it.

Broadcasters to Buy

Cramer looked at four broadcasting companies that could benefit from the hike in political ad spending.

First, E.W. Scripps (SSP) - Get Report . The company has 33 stations in 17 states, along with 34 radio states in eight markets. 87% of Scripps' revenue comes from TV, so it could be "poised to make a fortune" from the coming blitz of ad spending, Cramer said.

On the flip side, Scripps' earnings will fall significantly after this election-boosted year, and execution has been inconsistent at best.

Second, Gray Television (GTN) - Get Report , which has 64 network affiliates in 27 states. The stock is down 28% over the past year, but trades at just 6 times this year's earnings. The company is the most profitable of the four based on operating margins. "I think it's a winner," Cramer said.

Third, Entravision Communications (EVC) - Get Report , which has huge exposure to the Latino demographic. But because of Donald Trump's seeming disinterest, it appears unlikely that a bidding war will ensue when it comes to ad dollars.

Finally, there's Nexstar Broadcasting Group (NXST) - Get Report with 115 TV stations in 62 markets. However, following its acquisition of Media General (MEG) for $4.6 billion in January, the company could have 171 stations in 100 markets, reaching nearly 39% of the country, Cramer said. But the uncertainty surrounding the company closing this acquisition in time — or at all — is a turnoff, Cramer said.

Of the four Cramer favors Scripps, which is a good trade going into the election, and Gray Television, which is a worthy investment into the election and possibly beyond.

Lightning Round

On Monday's "Mad Money Lightning Round," Jim Cramer was bullish on Cracker Barrel CBRL, McEwen Mining (MUX) - Get Report , Arrow Electronics (ARW) - Get Report , Communications Sales & Leasing (CSAL) , ConAgra Foods (CAG) - Get Report and NXP Semiconductors (NXPI) - Get Report .

He was bearish on Lions Gate Entertainment (LGF) , Gilead Sciences (GILD) - Get Report and Mattress Firm (MFRM) .

From the Hive

In a special interview, Cramer sat down with John Kelly, the editor of Hive, a segment of Vanity Fair that focuses on business, technology and politics -- three ego-driven sectors, Kelly said.

Because of Vanity Fair and its reputation, Hive is able to drive a lot of native page views, which makes it lucrative to the digital format perspective. The company is looking to elevate its distribution, particularly via Facebook (FB) - Get Report , Twitter (TWTR) - Get Report and LinkedIn.

To watch replays of Cramer's video segments, visit the Mad Money page on CNBC.

To sign up for Jim Cramer's free Booyah! newsletter with all of his latest articles and videos please click here.

At the time of publication, Cramer's Action Alerts PLUS had a position in FB, NXPI and TWTR.