Category Archives: Programming

DCP-4: Great!!! The Work Is Done Solution

code i tried  around 5 of hours but didn’t succeded:


after checking one solution in github repo found the logic and impelmented in my own:

uDebug also helped me for critical case:

Hackerearth: Find Product



How to take limited constraint 1<=A[i]<=10^9 Array in C/C++ code for OJs



Prime or Not

Another easy understandable tut is in this link:


How to improve programming logical skills ?

I am not sure how relevant my post is in this context.

But if you want to shape up logic, try these teasers.

1.)Factorial of 100 and above.
2.)Prime numbers till 1000, then try to find primes till 100000000
3.)Sort 10 numbers in ascending, then try 100 then 1000 and then 1000000 numbers. from an array random numbers, shouldn’t take longer than few seconds.
4)Magic squares.
6)Knight travel.
7)8-Queens puzzle.
10)Minesweeper solver.

If will do about Java Certification later


Java Jobs

Java Developer

Precima 4.3 23 Reviews – Toronto

Job Description

About us

LoyaltyOne is part of the successful Alliance Data family of companies that provide the full range of data-driven loyalty, marketing and credit solutions in more than 80 locations across the globe.

Working with more than 100 leading brands in the retail, financial services, grocery, petroleum retail, travel and hospitality industries to profitably change customer behavior. Through a team of businesses, including one of the leading coalition loyalty programs in the world, the AIR MILES Reward Program, LoyaltyOne designs, delivers and manages a suite of services focused on consumer data, customer-centric retail strategies, direct-to-consumer marketing, loyalty consulting and more.

Furthermore, LoyaltyOne has broadened their horizons geographically by growing Precima in the European market. With the recent acquisition of BrandLoyalty in the Netherlands they have gained the expertise of a global leader in short-term loyalty campaigns, along with a client network that extends throughout Europe and Asia.

Precima applies shopper insights derived from advanced analytics to help retailers and manufacturers drive sales growth and boost profitability. Using comprehensive fact bases of purchase data, their team of experts help improve marketing and merchandising by identifying opportunities for growth and align both internal teams and external partners to best meet shoppers’ needs.

Precima tailors the scope and pace of its solutions to the unique priorities of each client. The overall goal is to achieve not just tactical wins but long term strategic gains, encouraging retailers to broaden the marketing agenda and fully explore the potential of sophisticated shopper insights.

Their roster of past and current clients includes many leading Fortune 1000 brands, among them some of the top high-frequency retailers in North America. Backed by first-hand experience with leading retail and manufacturing organizations, the Precima team brings a remarkable blend of expertise in loyalty, analytics, marketing and management to help you make more informed and profitable business decisions.

Learn more about Precima at

About the role
Come grow with Precima! We are looking for a Web Services developer who will help us to build the future for Precima’s embedded analytics platform. This is a highly technical position in an exciting new development area we will be introducing into our retail analytics business platform. We are looking for you to help implement our web platform. You will be a key team player and an integral part of our awesome web services team.
Who you are:
  • You bring a positive energy to the team and thrive on strong collaboration.
  • You are someone others look to for solving difficult problems, bounce ideas off and providing an alternate viewpoint.
  • You are self motivated and thrive on developing solutions to open-ended business problems.
  • You believe in developing great user experiences, through application flow and front end design.
  • Have 1-3 years of developing end to end web solutions
  • Have a Bachelor Degree in Computer Science, Computer Engineering, Electrical Engineering or other related discipline
Why we need you:
  • You will develop standard web solutions for industry leading interactive retail analytics
  • Participate in defining backlog and requirements clarification for various web projects
  • Help us to research and take advantage of new technology to improve and expand solutions
  • Leverage your previous experience to develop software solutions in support of business requirements and in accordance with predetermined software solution design standards
  • You are confident participating in an agile environment on design, development, testing and implementation of web solution components and modules
  • Troubleshoot and correct software defects
  • Participate in peer code reviews
What we use:
  • Java and corresponding development frameworks such as Spring
  • Bootstrap, LESS, SASS
  • Javascript – jQuery, Angular2, ReactJS, Node.js
  • Database experience (Relational) – MySQL, Oracle
  • Tomcat
  • Git
  • Atlassian tools – BitBucket/Stash, JIRA, Confluence, Bamboo
Nice to have:
  • Visualization library experience – D3.js, Google Charts, QlikSense
  • IIS
  • Cloud deployment experience; preference for Amazon Web Services stack
  • Big Data, Data Warehousing, In-Memory Database experience
Perks of our company:
  • High impact role with interesting challenges and huge growth potential!
  • Flexible hours and strong work life balance
  • Free Starbucks coffee and lattes, subsidized catered bistro café
  • On-site gym and massage therapy – great health and wellness benefits
  • Located directly above St. Patrick Subway station
  • One of the highest performing companies in the market (NYSE: ADS)
  • One of the 50 Best Employers in Canada – we value our employees!
Interested? Learn more about Precima at If you think you are ready to help us drive the web services team forward apply and we will review your resume!

Alliance Data is an Equal Employment Opportunity employer. Accordingly, we will make reasonable accommodations to respond to the needs of people with disabilities in accordance with legislation.

Alliance Data participates in E-Verify

JAVA/ J2EE Web Developer

A Leading Multinational Company

Job Description / Responsibility
  • Perform all phases of software engineering including requirements analysis,application design, code development and testing
  • Design and implement product features
  • Design reusable components, frameworks and libraries
  • Participate in an Agile / Scrum methodology to deliver high – quality software
  • Design and develop innovative solutions to meet the needs of the business
  • Review code and provide feedback relative to best practices and improving performance
  • Troubleshoot production support issues post deployment and come up with solutions as required
Job Nature


Educational Requirements
    Bachelor Degree or above in Computer Science/ Engineering/ MIS or relevant degree from reputed institution is required.
Experience Requirements
  • At least 3 year(s)
Job Requirements
  • Very good written and spoken english.
  • 3+ years of application development experience
  • Experience delivering web – based technology and Integration solutions to meet business needs
  • Hands on experience with Java/ J2EE, Spring, Hibernate, Apache, MySQL, GitHub, Java 8, Maven, HTML/CSS, Javascript/Jquery
Job Location


Salary Range
Job Source Online Job Posting

Job Summary

Published on: Mar 14, 2017

Job Nature: Full-time

Experience: At least 3 year(s)

Job Location: Dhaka

Salary Range: Negotiable

Application Deadline: Apr 13, 2017

Courses from Bdjobs Training

Pay online and get 10% discount

Send your CV to [email protected] or Click here to Email CV from MY BDJOBS account.
If you think, you are the right person for the job, please apply with complete resume at [email protected]

Applicant must enclose his/her Photograph with CV.

Application Deadline : Apr 13, 2017

Arguement about PHP ! every language is good but you can change later after mastering in one :)

I’ve never liked the whole vs. idea of frameworks and langauges. I don’t like that programmers and developers battle each other on the fact that some languages are better than others. The truth is, every language is better at something (well except maybe Whitespace). I wish programmers and developers could look at other languages and frameworks and be inspired by the things it did right, instead of  brush it off and say “Well mine is still better because of x and y!”.

In your specific case, you should hands down choose the framework based on if you are more familiar with PHP or Ruby. Program your application in what you’re comfortable with, then in your free time practice the other and gain Comfortability with it and make your own decision about which you like more. You are the only person who can decide which is better for you. Both Laravel and Ruby on Rails are absolutely amazing frameworks, and both have personally inspired me a lot. I would suggest somewhere down the line learning both of them, however for now I would say work with whatever language you know best.

Best of luck to you and happy coding!


Java Certification Experience

Pillars of Computer Science I need to master at

  1. Data Structures
  2. Algorithms
  3. Programming in C(Problem Solving)
  4. SQL Queries/ Database
  5. Object Oriented Programming(OOP)

Java vs PHP developer as Career

First of all think that what do you want to do? A career or just a task? If you want to get money in your career choose java and spend years to stay in this field. But if you want quick earning money and complete projects in one or two days choose PHP. Never think that if something is hard and tricky then you must go to that way but think that what others are doing and where others are rushing to? – Arshad Hussain Dec 26 ’13 at 18:59

Never Give Up on Programming

Why I dropped out of Free Code Camp

I’m Branden Byers. I’m a 31-year-old dad, husband, and software engineer.

I worked through Free Code Camp’s curriculum, contributed to its open-source codebase, then got a coding job much faster than I expected. These days I’m busy juggling being a dad, husband, and full time software engineer. So I’ve decided to drop out of Free Code Camp.

I arrived at Free Code Camp six months ago with a newfound seriousness. I was done merely dabbling in self-study. I was firmly committed to my goal of becoming an employable junior developer as quickly as possible.

My Journey

I first started tinkering with code when I was in elementary school, sitting behind my family’s first computer: a Macintosh Centris 610. Hypercard was my casual intro to coding. A brief diversion into C++ scared me away from lower-level languages. Then I began making websites and fell in love with my first real text editor: BBEdit.

In middle school, I joined my school’s first-ever student webmaster team. And in the late 1990’s I was paid $500 to design a website for a nonprofit. I had gone pro.

In high school, I received $500 to build this site in raw HTML.

My teenage years brought distraction. When I returned to HTML, I found that CSS and JavaScript had joined the party. My days of being a simple webmaster were over. The added complexity CSS and JavaScript led to me giving up on coding. I rationalized that I didn’t want to grow up to be a programmer because I didn’t want to sit behind a computer all day.

After high school, life led me in what I thought was a more creative direction than coding. I studied abroad in South-East Asia. I went on to get a Bachelor’s degree in Theatre Arts from the University of Iowa.

I iterated through many callings: waiter, massage therapist, playwright, mask maker, photographer, podcaster, and published cookbook author. Most of these weren’t successful. Aside from the intensity of writing a book under a tight deadline, none of these paths challenged my brain like I craved. I became frustrated with my lack of purpose.

My Fermentation Handbook. I also have a fermentation podcast and website.

Through all of this, coding slowly crept back into my life. About three years ago, I started learning Ruby. But after more than six months of self-study, I felt more lost than when I began. I returned to Ruby off-and-on, but it never really stuck.

I spent way too much time considering which languages and frameworks were most important to learn. A lot of the time, I was skeptical of how much I was actually absorbing. And then I rediscovered JavaScript. I’m not sure how or when, but about a year ago, I decided JavaScript was for me.

By this point I was a stay-at-home dad with my toddler son. I would often stay up late or rise early in order to cram as much self-study into my day as possible. My biggest challenge was not my lack of sleep, but my lack of structure.

When I’m accountable to someone, I feel I can accomplish anything. But when I’m completely independent, my plans tend to become scattered.

Finding Free Code Camp

I searched for structure in books, in long-form video tutorials, and in ad-hoc curriculum suggestions from blog posts. And then, in October 2014, I saw a tweet about a new community called Free Code Camp. I immediately signed up. I loved the structure and the concept of working on real projects with nonprofits.

But I continued to jump between my different programs and styles of structure. I rarely joined in on discussions in Free Code Camp’s chat rooms. I became an occasional Free Code Camp lurker.

Still, I had a strong desire to whip myself into legitimate developer shape. I knew I needed accountability. I forced myself to join discussions in Free Code Camp’s chat rooms.

Soon I discovered that some of the campers were volunteering by contributing to its open source codebase and nurturing its community. This was a great opportunity for me to participate with a purpose.

The late night discussions. The pair programming. These were the transformational moments, when I journeyed out of the darkness of independent study, and into the light of shared challenges.

I soon realized that I wasn’t alone in my struggles. What I’d previously thought were inadequacies in my own intelligence turned out to be common stumbling blocks that all people encounter when practicing the art and science of writing code.

Learning to code is a challenge. Everyone learns differently. What comes easy to one person may be difficult for another. But in aggregate, we all have knowledge to share. Each of us brings at least one experience or skill to the community — something that comes easy to us, and that we can then help others understand. And likewise, others will be there for us when we’re stuck beyond comprehension.

I seem to learn best through teaching others. So I jumped at the opportunity to design a bit of Free Code Camp’s curriculum. Specifically, I worked on some of the original Bonfires. Writing these algorithm challenges gave me a deeper understanding of the code behind them, which led me directly to the job that I have today.

Getting the job

Whenever possible, I attended local developer meetups. At one event, I ran into a friend whom I hadn’t seen in over a year. I shared my Free Code Camp experience with him. I told him that, after having designed some Bonfire algorithm challenges, testing was finally starting to make sense to me.

My friend told me he had a friend who worked for a company that was looking to hire a developer who could write automated tests.

That one chance encounter lead to a series of interviews. One week later, I found myself with a job offer. I was hired.

My 2015 goal was to become a working developer by the end of the year. Instead, I got a job in the first quarter.

My official title is Associate Software Engineer in Test. I work on a small remote team in Madison, Wisconsin, for a company called Interactive Intelligence. I code primarily in Angular.js, Node.js, and Protractor. The work is challenging and rewarding, and I get paid better than ever. Thus far, a career in code is everything that I had hoped it would be.

I’m surprised with how seamless the transition was from camper to worker. Could I have gotten a job without Free Code Camp? Eventually, sure. But Free Code Camp provided a far denser experience than in my roughly 24 previous years of dabbling in tech.

A selfy of me at my new job coding while standing on my balance board.

Going Forward

I haven’t quite regained my work/life equilibrium, or the time to contribute to Free Code Camp. But I am forever grateful to all my fellow campers who accelerated me in the right direction.

Oh, and that fear I had as a kid of being a programmer sitting behind a computer all days? It was completely unfounded.

For one, I love being behind a computer, and always have. Getting paid to do this is a huge perk. And second, I don’t sit, I stand. And I don’t just stand still, I am moving all day on a balance board while I type. But balance boards are a post for another day.

Until then, happy coding!

Monk and Welcome Problem

Another Problem:


URI Online Judge | 1030 Flavious Josephus Legend

This is level 3 problem so will do it later. But this video will help for  sure.


A good Array Example

Hackerrank problem: