Enhancing Performance Of Next-Generation Vehicular And Spectrum Sharing Wireless Networks: Practical Algorithms And Fundamental Limits