Pololu QTR-8RC maze solving problem

I’m using pololu qtr 8rc to follow 3cm black line and to solve a line maze…but i have some problems of identifying junctions…Can anybody give me an example code to refer

You might start by looking at our maze solver example for the 3pi Robot. If you still have trouble after that, I suggest you post more details about your robot and course and what strategies you have tried so far. Pictures or a video of the robot navigating junctions would also be helpful.