Can someone please share their approach to solve these kinds of problems? What category does this problem fall under? Do we just look for this pattern:
ifN<7: result \leftarrow |V| else: result \leftarrow 8
or prove it theoretically without going much into particular cases? I’ll ask for the proof anyways. I’d really like to have some links to similar problems. Thanks a tonne!
Thanks for the response.
Damn! That’s a lot of work. Even I tried in the same way, but I made some mistakes, so I was wondering whether any other elegant proof exists for such problems.