Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "palindrome"
-
I woke up to the binary ++ representations. After 5 minutes of scouring, I found one that was a palindrome. It was quite satisfying.
PS: thanks @irene. sorry to put you on the spot. 😅rant binarypalindromesareawesome thanksandsorryirene keepthefeaturefulfeature devrantaprilfoolsiscool16 -
Someone paid me almost 200 usd to solve a visual basic assignment made of 13 small questions like palindrome checking, finding max,...
i feel i stole the girls money but i also feel i wish i can do this full time8 -
For my job interview, they asked me to write simple Java code to check if the string is palindrome or not! Like sir, I've prepared for advanced quick sort and all algorithms and you ask me this!! 🥺14
-
During my job hunt as a Java Developer looking for job while on a job just like what every other developers do, around twenty twelve i got an invite from one of the companies i applied for, i wasn't expecting a test though but i was prepared for it anyway. The test proceeds, i and the other partakers were given separate systems and spread out across the room like teams in a football match, i don't know if they planned on making us nervous, it seemed so very awkward. First question was *Who originally developed Java (like seriously???? i almost cummed!) i skipped... skip skip skip. After so many skipping minutes i then arrived at that question ***Check string for palindrome, hmmm i then noticed my system was connected to an open wifi (don't know if it was a dumb mistake or on purpose). I definitely googled and faithful loving heavens i found the website were they got all 21 questions with their answers from (https://simpleprogrammer.com/progra...). I answered all questions using different approach, applied xml commenting, state possibility and outcome of each code block, added wiki references, i flawed the test. Few days later i received a call for final interview, got there and the interviewer was like "Do you teach/lecture on coding or something? cus you really did pretty good on the test the other day", I felt like a god and was like "no, i don't. just did what i had to do". Seems like he loved my reply and i got the job without a second question. The open network is still a mystery to me till date.6
-
Have a palindrome day @Stuxnet
I ran out of rants to ++, apparently I've already done that before 😂7 -
Answer HR questions with tech replies.
Q) Where do you wanna see yourself in 5 years?
A) At the end of a palindrome.2 -
Did 2 leetcode today (technically 1)
https://leetcode.com/problems/...
idea:
* Palindrome means cut it half, rearrange the other half, will equal each other.
* Using javascript new map() to build a hash map
* Loop the hash, add up quotient*2, add up remainder.
* if remainder > 1, then return_sum+1
https://leetcode.com/problems/...
seen a few times in interview.
* do the big one first, i.e. if(n % (3*5) === 0)
* then n%3 === 0
* then n%5 === 01 -
I have JUST realized the word “ease-in-out” is not a palindrome! The function itself is, and I was SURE the word was a palindrome too. I just _knew_ it. Fuck.
Fun fact: “()()” is also not a palindrome.3