I deleted partition and now I don't see the free space in Disk Utility so I do have a problem. I create a backup partition, by mistake via Time Machine on my disk. I wanted to deleted 'cause it was above half of my memory. I couldn't, so I type some commands I found on internet, and now I don't have that partition. But I don't see any free space in Disk Utility. 



I'm Pole so that's why language is polish. Anyway problem is that my disk is 500 GB, but I can see only 200GB claim, by "MacOSX". How can I add those almost 300GB space to "MacOSX" partition? I tried using Stellar:

So I know it's possible, but i don't have money on full version of the program. So I ask You for help. How can I do it for free?
Have you try these steps to fix your issue:

$ diskutil list


It will list your physical drive detail. Note the drive name for unallocated space. 

sudo diskutil eraseVolume "Free Space" %noformat% /dev/disk0s3


Assuming your volume is named disk0s3

Next, resize your APFS Container

diskutil apfs resizeContainer disk0s2 0


With value zero at the end, diskutil will automatically claim all available free space. 

It should be fine and then you can re-setup macOS from Recovery mode.