Apartment Circuit breaker flips randomly
This may not be worth spending a lot of time on. Buy a replacement and swap it in.  If the problem goes away, it must have been a defective breaker.

New breakers cost between $3.50 and $40 depending on make, model, and if it is an AFCI or GFI.

Be sure to note carefully if the existing breaker is a GFI (also called GFCI)&mdash;ground fault interrupter&mdash;or an AFCI&mdash;arc fault circuit interrupter.  The former is required for outdoor and wet locations, the latter for "residential family rooms, dining rooms, living rooms, parlors, libraries, dens, bedrooms, sunrooms, recreation rooms, closets, hallways, and similar rooms or areas."ref

Replacing a breaker is not a highly skilled operation, but not respecting electricity can be dangerous.  If you aren't comfortable working around open wiring, call in a handy friend.