"] This is not grammatically correct as with is a preposition and it should not end a sentence. "] is more correct when regarding prepositions. Your comments on the second sentence, however, sound correct.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.