Placement prep for students. Placement tools for colleges.
Interviewer is speaking — you can jump in any time
A sorted array was rotated at some point. How would you find a number in it in O(log n) time?
Start speaking — your words will appear here…
75,000+
aptitude questions, every answer explained
388
DSA problems, grouped by pattern
36
college guides, plus 9 company guides
EN / HI
interviews in English (India, US, UK) or Hindi
01For students
Mock interviews are only the start.
AI mock interview
You answer out loud, like a real interview. The AI listens, asks the next question, and gives you a report with a score for every answer.
CS fundamentals, DSA, system design and the stack you choose. Pick the role, your level, the difficulty and how many questions.
- Language
- English (India, US, UK) or Hindi
- Price
- 3 free a month. Unlimited with Pro.
- After
- A report you can download as a PDF
✦ INTERVIEW REPORT
Software Engineer
78%
Overall score
5 / 5
Answered
14:32
Time taken
Good
Performance
Skills breakdown
72%
SCORE
How would you find a number in a rotated sorted array in O(log n)?
YOUR ANSWER
Binary search. One half is always sorted, so I check if the target is inside it…
★ AI FEEDBACK
Right idea. Walk through one example out loud, and say what changes with duplicates.
← Back
Search in Rotated Sorted Array
MediumProblem description
A sorted array was rotated at an unknown index. Return the index of target, or -1 if it is not there. Aim for O(log n).
Examples
Output: 4
1def search(nums, target):2 lo, hi = 0, len(nums) - 13 while lo <= hi:4 mid = (lo + hi) // 25 if nums[mid] == target:6 return mid7 if nums[lo] <= nums[mid]:8 if nums[lo] <= target < nums[mid]:9 hi = mid - 110 else:11 lo = mid + 112 elif nums[mid] < target <= nums[hi]:13 lo = mid + 114 else:15 hi = mid - 116 return -1
DSA problems with a real code editor
388 problems, grouped by pattern. Write code in the browser in C, C++, Java, Python or JavaScript, and run it against test cases.
Open the DSA sheetA shop marks a shirt 25% above cost, then gives a 10% discount. What is the profit?
Correct!
HOW IT IS SOLVED
Cost 100 → marked 125 → sold at 112.5. Profit is 12.5 on 100, so 12.5%.
Aptitude, every answer explained
75,000+ questions in quant, logical, verbal and technical. It keeps bringing back the topics you get wrong.
Practise aptitudeEverything else, with its price.
No hidden paywall. If something has a limit, it says so here.
Practise
Answer, get scored, improve.
Prepare
Know what is coming.
Get help
Talk to people who have done it.
Get hired
Show you are ready.
02The daily habit
20 minutes a day beats one long mock.
Welcome back, Riya
TODAY’S TASK
Take a 15-min mock interview
Great progress!
6
Interviews
72%
Avg score
5d
Streak
67%
Success rate
Your dashboard. The readiness score (0 to 100) and streak go up with every set you finish. Sample data.
03Price
Free to start. ₹49 if you want more.
| What you get | Free₹0 | Sansal Pro₹49 / monthor ₹499 a year |
|---|---|---|
| Aptitude, DSA problems, coding quiz, notes, playlists, company and college prepAptitude, DSA, notes and all prep | No limit | No limit |
| AI mock interviews | 3 a month | Unlimited |
| Code runs | 15 a day | Unlimited |
| Expert chat | 1 a month | Unlimited |
| 1:1 expert sessions | Paid per session | Paid per session |
| Start free |
04For colleges and TPOs
Know which students are ready, before the company comes.
Overview
You are looking at 480 students.
Students
480
Your plan allows 500
Have signed in
394
82% opened their account
Have started practising
64%
310 have taken at least one test
Average job readiness
58%
How ready this group is
How ready they are
The two red groups are the ones to plan a class around.
What they are worst at
View all →- 1Time and work42 below 60%48%
- 2Probability38 below 60%51%
- 3Dynamic programming35 below 60%53%
- 4Syllogisms29 below 60%56%
The TPO portal. Example college, sample data.
- 1
We add your students
Send us an Excel list, or give students a college code.
- 2
Students practise every day
Interviews, aptitude and coding. Attendance is marked on its own.
- 3
You see who is ready
Readiness by branch and section, with the weakest topics ranked.
- 4When a company visits
You run company drives
Registration, tests and AI interviews. Share the report as a link or PDF.
← Company drives
Campus drive 2027
Software Engineer · Candidates move on as they clear a round
ROUND 1
MCQ test
40 questions · 60 min
ROUND 2
Coding (DSA)
Solve 2 of 3
ROUND 3
Technical interview
AI, spoken
ROUND 4
HR interview
AI, spoken
What it costs
Free 2-week pilot.
Up to 100 students.
Everything switched on. No purchase order. A written report at the end.
After the pilot: a yearly licence per student. The price depends on how many students you have. We tell you on the first call, in writing.
Who sees what
- Principal and TPO
- Everything, for the whole college
- HOD
- Their own branch
- Faculty and mentors
- Their own sections
- Students
- Only their own work
Only your college’s staff see your students’ data.
What your students get
- Your college’s own web address, with your logo
- Today’s work, attendance and streak on one screen
- Tests you set, with rank and percentile
- Company drives: register, upload a resume, take the rounds
- Notices from the placement cell
05Services for businesses
Need software? We build it too.
The team behind Sansal’s AI interviews and college portal builds websites and software for businesses and institutes.
06Partner with us
Work with us. One message is enough.
Tell us who you are. We reply within one working day.
Or reach us directly
Sansal+91 86517 75002Opens WhatsApp with this text. Change it before you send.
07Questions
Asked often.
Yes, to start. Aptitude tests, the coding quiz, DSA problems, notes, playlists and college- and company-wise prep are free with no limit. AI mock interviews are free 3 times a month, code runs 15 times a day, and expert chat once a month. Sansal Pro (₹49 a month or ₹499 a year) removes those limits. Expert sessions are paid per session.
Your next step