He asked me why wasn't he able to do that and why wasn't he taught this at the bootcamp. I knew what his friend did in a weekend was probably a culmination of 3-4 years of rigourous learning of computer science concepts that he acquired at the Uni.
Among bootcamp students, There is this constant unhealthy comparison going on in their minds with the people who graduated from a Uni., this is even after years of working in the industry. what doesn't help is, Apart from a few exceptions(students and companies), the way most recruiters and HRs treat them isn't something to talk about and the pay difference is visible.
Also, It isn't easy for them to catch up. You had the privilege of being able to afford to study for 4 years while it is not the same story for most people at/from the bootcamps. To add to this, They also feel left out when you discuss about your days at the Uni or are discussing some computer science concepts.
If you have a colleague or someone around who is self taught or from a bootcamp, be a bit more kind and explain or refer them to reading material on concepts in a subtle way, it doesn't take much to make them feel included.